small fixes

This commit is contained in:
teldra 2022-03-27 00:11:47 +01:00
parent c84ffaa1dd
commit 4d1efe1adc

View File

@ -3,9 +3,9 @@
{{ end }}
{{ define "main" }}
{{ .Content }}
<article>
{{ .Content }}
</article>
<h2>{{ "news" | T }}</h2>
{{ $s := .Site.Params }}
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }}