mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2025-12-12 16:58:50 +01:00
fix
This commit is contained in:
parent
f12ee2050a
commit
ade394dc7d
@ -4,16 +4,14 @@ title: Tags
|
|||||||
menu: ['global']
|
menu: ['global']
|
||||||
---
|
---
|
||||||
<ul>
|
<ul>
|
||||||
{% if site.data.wiki_tags %}
|
{%- assign sorted_tags = site.tags | sort -%}
|
||||||
{%- assign sorted_tags = site.data.wiki_tags | sort -%}
|
|
||||||
{%- for tag in sorted_tags -%}
|
{%- for tag in sorted_tags -%}
|
||||||
{%- assign counter = 0 -%}
|
{%- assign counter = 0 -%}
|
||||||
{%- for other_page in site.data.wiki_pages %}
|
{%- for other_page in site.wiki %}
|
||||||
{%- if other_page.tags contains tag -%}
|
{%- if other_page.tags contains tag -%}
|
||||||
{%- assign counter = counter | plus: 1 -%}
|
{%- assign counter = counter | plus: 1 -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
<li><a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ tag }}">{{ tag }}</a> ({{counter}} pages)</li>
|
<li><a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ tag }}">{{ tag }}</a> ({{counter}} pages)</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{% endif %}
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: simple
|
layout: simple
|
||||||
title: SSH
|
title: SSH
|
||||||
|
tags: GameShell
|
||||||
revisions:
|
revisions:
|
||||||
- author: Cuu
|
- author: Cuu
|
||||||
date: 2024-02-22
|
date: 2024-02-22
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user