mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2025-12-27 23:38:52 +01:00
Liquid Exception: Liquid error (line 2): Cannot sort a null object. in /github/workspace/_global/Special:***
16 lines
339 B
HTML
16 lines
339 B
HTML
---
|
|
layout: default
|
|
title: Long pages
|
|
menu: ['global']
|
|
---
|
|
{% if site.data.wiki_pages %}
|
|
{%- assign long_pages = site.data.wiki_pages | sort: 'bytes' | reverse -%}
|
|
<ol>
|
|
{%- for page in long_pages limit:50 -%}
|
|
<li>
|
|
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
|
</li>
|
|
{%- endfor -%}
|
|
</ol>
|
|
{% endif %}
|