mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2025-12-12 08:48:51 +01:00
try to fix
Liquid Exception: Liquid error (line 2): Cannot sort a null object. in /github/workspace/_global/Special:AllPages.html
This commit is contained in:
parent
c4279a8c59
commit
72b2b073e5
@ -4,6 +4,7 @@ title: All pages
|
||||
menu: ['global']
|
||||
---
|
||||
<ul>
|
||||
{% if site.data.wiki_pages %}
|
||||
{%- assign sorted_page = site.data.wiki_pages | sort: "id" -%}
|
||||
{%- for page in sorted_page -%}
|
||||
{%- assign page_name = page.id | slice: 1, 50 -%}
|
||||
@ -15,4 +16,5 @@ menu: ['global']
|
||||
{%- if page.author_full -%} (by <a href="{{ page.author_full.url }}">{{ page.author_full.name }}</a>) {%- endif -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user