From 2b111b73aeef2357abf8da8c59ced23b48a16add Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sun, 20 May 2018 14:28:44 +0200 Subject: [PATCH] Correct Series sorting, show correct icon for episodes without recording --- layouts/shortcodes/series.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/series.html b/layouts/shortcodes/series.html index d87c70a..822230d 100644 --- a/layouts/shortcodes/series.html +++ b/layouts/shortcodes/series.html @@ -7,14 +7,18 @@ Topic Video - {{ range $ind,$art := $.Site.Pages.ByDate }} + {{ range $ind,$art := $.Site.Pages.ByDate.Reverse }} {{ if eq $art.Params.series $series }} {{ $art.Params.no }} {{ dateFormat "02.01.2006" $art.Params.event_date }} {{ $art.Params.speaker }} {{ $art.Params.subtitle }} - + {{ if $art.Params.recording }} + + {{ else }} + + {{ end }} {{ end }} {{ end }}