Limit homepage devlogs and add refresh trigger
Deploy production / deploy (push) Successful in 19s

This commit is contained in:
2026-08-20 16:03:22 -07:00
parent 790e3dcafa
commit ad2fa3729d
5 changed files with 217 additions and 18 deletions
+2 -3
View File
@@ -24,9 +24,8 @@
{% for project in site.query('/projects').filter(F._model == 'project') %}
{% set devlog = site.get(project.path ~ '/devlog') %}
{% if devlog %}
{% for entry in devlog.children %}
{% if entries.append(entry) %}{% endif %}
{% endfor %}
{% set latest_devlog_entry = devlog.children.order_by('-date', '-source_commit_time').first() %}
{% if latest_devlog_entry and entries.append(latest_devlog_entry) %}{% endif %}
{% endif %}
{% endfor %}
{% for item in entries|sort(attribute='date', reverse=true) %}