mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-27 22:22:41 +01:00
try to fix
Liquid Exception: Liquid error (line 2): Cannot sort a null object. in /github/workspace/_global/Special:***
This commit is contained in:
@@ -3,6 +3,8 @@ layout: default
|
||||
title: Short pages
|
||||
menu: ['global']
|
||||
---
|
||||
{% if site.data.wiki_pages %}
|
||||
|
||||
{%- assign long_pages = site.data.wiki_pages | sort: 'bytes' -%}
|
||||
<ol>
|
||||
{%- for page in long_pages limit:50 -%}
|
||||
@@ -11,3 +13,5 @@ menu: ['global']
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ol>
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user