This commit is contained in:
+2
-3
@@ -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) %}
|
||||
|
||||
Reference in New Issue
Block a user