wiki.clockworkpi.com/_global/Special:AllPages.html
Alexis Hassler a05643fc76 Small fixes
2019-05-19 18:23:17 +02:00

19 lines
592 B
HTML

---
layout: default
title: All pages
menu: ['global']
---
<ul>
{%- assign sorted_page = site.data.wiki_pages | sort: "id" -%}
{%- for page in sorted_page -%}
{%- assign page_name = page.id | slice: 1, 50 -%}
{%- if page_name != page.title -%}
{%- assign page_name = page_name | append: " - " | append: page.title -%}
{%- endif -%}
<li>
<a href="{{ page.url }}.html">{{ page_name }}</a>&nbsp; [{{ page.bytes }} bytes]
{%- if page.author_full -%}&nbsp;(by <a href="{{ page.author_full.url }}.html">{{ page.author_full.name }}</a>) {%- endif -%}
</li>
{%- endfor -%}
</ul>