mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2025-12-12 08:48:51 +01:00
Issue #3 list of pages (by name)
This commit is contained in:
parent
c4cf1d3670
commit
a5d624dbca
@ -17,7 +17,9 @@ prefix:
|
||||
global_pages:
|
||||
- url: /Main
|
||||
text: Home page
|
||||
- url: /Special:Tags
|
||||
- url: /Special:Categories
|
||||
text: All the tags
|
||||
- url: /Special:Users
|
||||
- url: /Special:AllPages
|
||||
text: All the pages
|
||||
- url: /Special:ListUsers
|
||||
text: All the users
|
||||
|
||||
@ -17,7 +17,9 @@ prefix:
|
||||
global_pages:
|
||||
- url: /Accueil
|
||||
text: Accueil
|
||||
- url: /Special:Tags
|
||||
- url: /Special:Categories
|
||||
text: Toutes les catégories
|
||||
- url: /Special:Users
|
||||
- url: /Special:AllPages
|
||||
text: Tous les pages
|
||||
- url: /Special:ListUsers
|
||||
text: Tous les utilisateurs
|
||||
|
||||
14
_global/Special:AllPages.html
Normal file
14
_global/Special:AllPages.html
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
title: All pages
|
||||
menu: ['global']
|
||||
---
|
||||
{%- include /functions/wiki-pages.html -%}
|
||||
<ul class="columns">
|
||||
{%- for page in wiki_pages -%}
|
||||
<li>
|
||||
<a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ page.slug }}.html">{{ page.title }}</a>
|
||||
{%- if page.author -%} (by <a href="/{{ site.data.i18n[site.lang].prefix.user }}{{ page.author }}.html">{{ page.author }}</a>) {%- endif -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
Loading…
x
Reference in New Issue
Block a user