wiki.clockworkpi.com/_global/Special:RecentChanges.html
cuu 0176419d17 try to fix
Liquid Exception: Liquid error (line 2): Cannot sort a null object. in
 /github/workspace/_global/Special:***
2024-02-21 23:17:55 -08:00

17 lines
392 B
HTML

---
layout: default
title: Recent changes
menu: ['global']
---
{% if site.data.wiki_pages %}
{%- assign recent_changes = site.data.wiki_pages | where_exp: 'page', 'page.modified' | sort: 'modified' | reverse -%}
<ul>
{%- for page in recent_changes limit:20 -%}
<li>
<a href="{{ page.url }}">{{ page.title }}</a>
&nbsp;- {{ page.modified }}
</li>
{%- endfor -%}
</ul>
{% endif %}