Impressum und Datenschutz eingebaut
This commit is contained in:
parent
40d597a3c1
commit
1d6a3d70bc
2 changed files with 10 additions and 2 deletions
|
@ -78,6 +78,8 @@ theme = "BlogAMore"
|
|||
[Params]
|
||||
# Beschreibung der Seite selbst
|
||||
description = "Die Beschreibung der Seite"
|
||||
imprint = "/about/imprint/"
|
||||
privacy = "/about/privacy/"
|
||||
|
||||
# Dateiname der den aktuellen Commit-Hash entält, sowie die Basis-url des Repo, damit im Footer der aktuelle Hash angezeigt wird, die Datei muss dann am besten über das Published-Script erzeugt werden
|
||||
gitHashFile = "commit_id.txt"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<footer class="bg-dark text-bg-dark">
|
||||
<nav class="nav justify-content-center navbar-expand-md navbar-dark ">
|
||||
<a class="nav-link" href="#">Impressum & Datenschutz</a>
|
||||
<a class="nav-link" href="{{- index .Site.Params "Imprint" | default "#" -}}">Impressum</a>
|
||||
<a class="nav-link" href="{{- index .Site.Params "Privacy" | default "#" -}}">Datenschutz</a>
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
|
||||
{{ end }}
|
||||
|
@ -20,5 +21,10 @@
|
|||
<small>Updated on {{ now.Format "January 2, 2006" }}</small>
|
||||
</p>
|
||||
|
||||
<p><a class="nav-link" href="#"><small>© 2009-{{ now.Format "2006"}} MarcoDN</small></a></p>
|
||||
<p>
|
||||
{{ with .Site.Copyright }}
|
||||
<a class="nav-link" href="#"><small>Webseite: © {{- . -}}</small></a>
|
||||
{{ end }}
|
||||
<a class="nav-link" href="http://marcodn.de/"><small>Design: © 2009-{{ now.Format "2006"}} MarcoDN</small></a>
|
||||
</p>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue