small fixes

This commit is contained in:
teldra 2022-04-04 13:06:15 +02:00
parent 8a87dcf4c6
commit 0f1da86ce9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
{{ .Content }}
</article>
{{ end }}
{{ range first 3 $featured.ByLastmod }}
{{ range first 3 $featured.ByLastmod.Reverse }}
{{ $article_age := sub now.Unix (int .Date.Unix) }}
{{ if lt $article_age "1209600" }}
{{ partial "structure/list_article.html" . }}