Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
284 B

{{- $pagination := "" }}
{{- if .IsHome }}
{{ $pagination = .Paginate (where .Site.RegularPages "Params.hidden" "!=" true) }}
{{- end }}
{{ if and .IsHome (eq $pagination.PageNumber 1) }}
{{ .Site.Params.HomepageHeader | safeHTML }}
{{ else }}
<a href="/">&laquo; Home</a>
{{ end }}