small fixes

This commit is contained in:
teldra 2022-03-27 00:11:47 +01:00
parent c84ffaa1dd
commit 4d1efe1adc
1 changed files with 3 additions and 3 deletions

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 }}