Sortierung

This commit is contained in:
Lynn Ochs 2020-01-15 13:23:41 +01:00
parent 24c3325f9e
commit 2e7d886b24

View File

@ -2,7 +2,7 @@
title: "/var/log" title: "/var/log"
layout: default layout: default
--- ---
{% for post in site.logs %} {% for post in (site.logs | sort: 'date', 'last') %}
<h2><a href="{{ post.url }}">{{ post.title }}, {{ post.date | date: "%F" }}</a></h2> <h2><a href="{{ post.url }}">{{ post.title }}, {{ post.date | date: "%F" }}</a></h2>
{{ post.excerpt }} {{ post.excerpt }}