Issue #6 List of pages per user

This commit is contained in:
Alexis Hassler
2019-05-18 11:21:16 +02:00
parent 45bc42f572
commit e285abc65b
21 changed files with 109 additions and 116 deletions

View File

@@ -0,0 +1,11 @@
---
layout: default
menu: ['global']
---
<ul class="columns">
{%- for doc in page.author_full.contributions -%}
<li>
<a href="{{ doc.url }}.html">{{ doc.title }}</a>
</li>
{%- endfor -%}
</ul>

View File

@@ -7,9 +7,8 @@ menu: ['global']
<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 %}
{% for other_page in site.data.wiki_pages %}
{% if other_page.tags contains tag and other_page.id != page.id %}
<li><a href="{{ other_page.url }}">{{ other_page.title }}</a></li>
{% endif %}

5
_layouts/user.html Normal file
View File

@@ -0,0 +1,5 @@
---
layout: default
menu: ['global']
---
{{ content }}