blogamore/layouts/partials/footer.html

33 lines
1.3 KiB
HTML
Raw Normal View History

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-08 22:14:52 +01:00
<a class="nav-link" href="{{- index .Site.Params "Imprint" | default "#" -}}">Impressum</a>
<a class="nav-link" href="{{- index .Site.Params "Privacy" | default "#" -}}">Datenschutz</a>
{{ if (not .IsHome) }}
{{ with .OutputFormats.Get "rss" -}}
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
{{ end }}
2022-11-15 23:34:16 +01:00
{{ end }}
2022-11-13 20:52:45 +01:00
</nav>
<p>
{{ if (and (isset .Site.Params "githashfile") (isset .Site.Params "gitrepourl")) }}
{{ if (fileExists .Site.Params.gitHashFile) }}
{{ $commit_id := trim (readFile .Site.Params.gitHashFile) "\n" }}
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>
{{ end }}
{{ end }}
<small>Updated on {{ now.Format "January 2, 2006" }}</small>
</p>
2023-01-08 22:14:52 +01:00
<p>
{{ with .Site.Copyright }}
<a class="nav-link" href="#"><small>Webseite: &copy; {{- . -}}</small></a>
{{ end }}
<a class="nav-link" href="http://marcodn.de/"><small>Design: &copy; 2009-{{ now.Format "2006"}} MarcoDN</small></a>
</p>
2022-11-13 20:52:45 +01:00
</footer>