Issue #3 List of pages (long and short)

This commit is contained in:
Alexis Hassler
2019-05-16 18:46:58 +02:00
parent 6689a5faa5
commit a9c6585252
9 changed files with 54 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
---
layout: default
title: Short pages
menu: ['global']
---
{%- include /functions/wiki-pages.html -%}
{%- assign long_pages = wiki_pages | sort: 'bytes' -%}
<ol>
{%- for page in long_pages limit:50 -%}
<li>
<a href="{{ page.url }}.html">{{ page.title }}</a>&nbsp; [{{ page.bytes }} bytes]
</li>
{%- endfor -%}
</ol>