mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-29 16:12:39 +02: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,7 @@ 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 -%}
|
||||
@@ -11,3 +12,4 @@ menu: ['global']
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ol>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user