2022-11-20 15:04:48 +01:00
|
|
|
<footer class="bg-dark text-bg-dark">
|
2022-11-13 20:52:45 +01:00
|
|
|
<nav class="nav justify-content-center navbar-expand-md navbar-dark ">
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- with .Site.Params.Imprint }}
|
2023-01-19 08:43:14 +01:00
|
|
|
<a class="nav-link" href="{{- . -}}">Impressum</a>
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Site.Params.Privacy }}
|
2023-01-19 08:43:14 +01:00
|
|
|
<a class="nav-link" href="{{- . -}}">Datenschutz</a>
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- if (not .IsHome) }}
|
|
|
|
{{- with .OutputFormats.Get "rss" -}}
|
2023-01-16 23:57:37 +01:00
|
|
|
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2022-11-13 20:52:45 +01:00
|
|
|
</nav>
|
2022-11-21 23:51:57 +01:00
|
|
|
<p>
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- if (and (isset .Site.Params "githashfile") (isset .Site.Params "gitrepourl")) }}
|
|
|
|
{{- if (fileExists .Site.Params.gitHashFile) }}
|
|
|
|
{{- $commit_id := trim (readFile .Site.Params.gitHashFile) "\n" }}
|
2022-11-21 23:51:57 +01:00
|
|
|
Git commit:
|
|
|
|
<a class="border bg-light text-bg-light rounded px-1 me-1"
|
|
|
|
href="{{- .Site.Params.gitRepoUrl -}}/commit/{{- $commit_id -}}"
|
|
|
|
target="_blank">{{- substr $commit_id 0 7 -}}</a>
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2022-11-21 23:51:57 +01:00
|
|
|
<small>Updated on {{ now.Format "January 2, 2006" }}</small>
|
|
|
|
</p>
|
2023-01-08 22:14:52 +01:00
|
|
|
<p>
|
2023-01-22 00:47:23 +01:00
|
|
|
{{- with .Site.Copyright }}
|
|
|
|
<a class="nav-link" href="#"><small>Webseite: © {{- . -}}</small></a>
|
|
|
|
{{- end }}
|
2023-01-08 22:14:52 +01:00
|
|
|
<a class="nav-link" href="http://marcodn.de/"><small>Design: © 2009-{{ now.Format "2006"}} MarcoDN</small></a>
|
|
|
|
</p>
|
2023-01-22 00:47:23 +01:00
|
|
|
</footer>
|