Sortierung die zweite

This commit is contained in:
Imaginaerraum 2020-01-15 13:25:57 +01:00
parent 2e7d886b24
commit 904ece3300

View File

@ -2,7 +2,8 @@
title: "/var/log" title: "/var/log"
layout: default layout: default
--- ---
{% for post in (site.logs | sort: 'date', 'last') %} {% assign posts = (site.logs | sort: "date", "last") %}
{% for post in posts %}
<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 }}