small fixes

This commit is contained in:
teldra 2022-03-27 00:45:26 +01:00
parent b3d3d85ac9
commit e23414a7a7

View File

@ -11,14 +11,12 @@
{{- end }}
{{- end }}
{{ if or (or (eq .Section "events") (eq .Params.recurrent true)) (.IsHome) }}
<h3 class="mt-4">{{ T "recurrent" }}</h3>
{{- $posts := where .Site.RegularPages "Params.recurrent" true }}
{{ range $posts }}
<a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a>
{{ end }}
{{ end }}
</div>