template installiert
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user