From c5dc8ae99cddc977e897c0daf163937fca477418 Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 28 Mar 2022 12:53:53 +0200 Subject: [PATCH] small fixes --- content/news/neue-seite/index.de.md | 2 +- themes/buha/layouts/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/news/neue-seite/index.de.md b/content/news/neue-seite/index.de.md index f68c500e..cef6826c 100644 --- a/content/news/neue-seite/index.de.md +++ b/content/news/neue-seite/index.de.md @@ -1,6 +1,6 @@ --- title: "Neue Homepage" -date: "2022-03-02T14:00:00+02:00" +date: "2021-03-27T14:00:00+02:00" --- Wir präsentieren nun unsere neue Homepage. diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 05df57a8..396b3ccf 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -77,7 +77,7 @@ {{ end }} {{- range first 5 $paginator.Pages -}} {{ $article_age := sub now.Unix (int .Date.Unix) }} - {{ if and (ne .Params.featured true) (ge $article_age "1209600") }} + {{ if or (ne .Params.featured true) (ge $article_age "1209600") }}

{{- .Title -}}