small fixes

This commit is contained in:
teldra 2022-03-28 12:47:10 +02:00
parent 963067e99d
commit 974dd625cc
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@
{{ end }}
{{ end }}
{{- range first 5 $paginator.Pages -}}
{{ if ne .Params.featured true }}
{{ $article_age := sub now.Unix (int .Date.Unix) }}
{{ if and (ne .Params.featured true) (ge $article_age "1209600") }}
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
<div id="articletitle">
<h3>{{- .Title -}}</h3>