Files
ivi/layouts/_partials/footer.html
T
2026-10-17 08:45:08 +02:00

19 lines
845 B
HTML

<footer class="site-footer side-padding">
{{ $navigation := .Site.Params.navigation | default dict }}
<p class="footer-brand">
{{- if isset $.Site.Params "brand"}}{{ $.Site.Params.brand }}{{ else }}{{ $.Site.Title }}{{ end -}}
</p>
<nav class="footer-links" aria-label="Footer navigation">
<a href="{{ $.Site.Home.RelPermalink }}">Home</a>
{{ range where .Site.Pages "Params.displayinmenu" true -}}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end -}}
{{ range $key, $value := .Site.Taxonomies.categories -}}
{{ with $.Site.GetPage (printf "%s%s" "categories/" ($key | urlize)) }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{- end }}
</nav>
{{ partial "social-links.html" (dict "context" . "class" "footer-social-links" "includeRss" $navigation.rssinmenu) }}
</footer>