small fixes

This commit is contained in:
teldra 2022-03-28 12:53:53 +02:00
parent 974dd625cc
commit c5dc8ae99c
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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") }}
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
<div id="articletitle">
<h3>{{- .Title -}}</h3>