mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 18:32:43 +01:00
Fix #2 List of tags
This commit is contained in:
@@ -2,20 +2,18 @@
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<h1 id="title">{{ page.title }}</h1>
|
||||
<div id="content">{{ content | inject_anchors }}</div>
|
||||
</div>
|
||||
<div id="menu">
|
||||
{% include logo.html %}
|
||||
{% include user.html %}
|
||||
{% include toc.html %}
|
||||
{% include links.html %}
|
||||
{% include tags.html %}
|
||||
{%- include logo.html -%}
|
||||
{%- assign menu = page.menu | default: layout.menu -%}
|
||||
{%- for item in menu -%}
|
||||
{%- include {{item}}.html -%}
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
<html dir="ltr" class="client-js" lang="fr">
|
||||
<html>
|
||||
{%- include /functions/redirect-page.html -%}
|
||||
|
||||
<head>
|
||||
{%- assign redirect_url = redirect_page.url | default: site.data.i18n[site.lang].home | append: ".html" -%}
|
||||
{%- include head.html redirect_url = redirect_url -%}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<h1 id="title">{{ redirect_page.title }}</h1>
|
||||
@@ -18,7 +16,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="menu">
|
||||
{%- include logo.html -%}
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
layout: default
|
||||
menu: ['global']
|
||||
---
|
||||
{{ content }}
|
||||
@@ -1,34 +1,20 @@
|
||||
<html dir="ltr" class="client-js" lang="fr">
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<h1 id="title">{{ page.tags }}</h1>
|
||||
<div id="content">
|
||||
{{ content | inject_anchors }}
|
||||
</div>
|
||||
<div id="pages">
|
||||
<h3>{{ site.data.i18n[site.lang].label.tag_pages }} {{ page.tags }}</h3>
|
||||
<div class="columns">
|
||||
<ul>
|
||||
{% include /functions/wiki-pages.html %}
|
||||
{% for tag in page.tags %}
|
||||
{% for other_page in wiki_pages %}
|
||||
{% if other_page.tags contains tag and other_page.slug != page.slug %}
|
||||
<li><a href="{{ other_page.url }}">{{ other_page.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu">
|
||||
{% include logo.html %}
|
||||
</div>
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
---
|
||||
layout: default
|
||||
menu: ['global']
|
||||
---
|
||||
{{ content | inject_anchors }}
|
||||
<div id="pages">
|
||||
<h3>{{ site.data.i18n[site.lang].label.tag_pages }} {{ page.tags }}</h3>
|
||||
<div class="columns">
|
||||
<ul>
|
||||
{% include /functions/wiki-pages.html %}
|
||||
{% for tag in page.tags %}
|
||||
{% for other_page in wiki_pages %}
|
||||
{% if other_page.tags contains tag and other_page.slug != page.slug %}
|
||||
<li><a href="{{ other_page.url }}">{{ other_page.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
layout: default
|
||||
menu: ['user', 'toc', 'links', 'tags']
|
||||
---
|
||||
{{ content }}
|
||||
|
||||
Reference in New Issue
Block a user