mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-20 19:02:48 +01:00
Issue #6 List of pages per user
This commit is contained in:
11
_layouts/contributions.html
Normal file
11
_layouts/contributions.html
Normal 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>
|
||||
@@ -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
5
_layouts/user.html
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
layout: default
|
||||
menu: ['global']
|
||||
---
|
||||
{{ content }}
|
||||
Reference in New Issue
Block a user