From eaafe3f1ea3525989c4b92f4fdc3a114031dc333 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Tue, 25 Jan 2022 16:35:15 +0100 Subject: [PATCH] add links for legal and privacy statements --- layouts/partials/footer.html | 61 +++++++++++++++++++++++------------- layouts/partials/header.html | 4 ++- 2 files changed, 42 insertions(+), 23 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6613aaa..9a0ed08 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,33 +2,50 @@
- {{ with .Site.Params.copyright }} -
- - {{ .name }} -
- {{ end }} +
+ {{ with .Site.Params.copyright -}} + + {{ .name }} + {{- end }} +
- {{ with .Site.Params.builtBy }} - {{.name}} - {{ end }} + {{ with .Site.Params.builtBy -}} + {{ .name }} + {{- end }}
    - {{with .Site.Params.github }} - - {{ end }} - {{with .Site.Params.sourcehut }} - - {{ end }} - {{ with .Site.Params.email }} - - {{ end }} + {{ with .Site.Params.legal -}} +
  • + {{ .name }} +
  • + {{- end }} + {{ with .Site.Params.privacy -}} +
  • + {{ .name }} +
  • + {{- end }} + {{ with .Site.Params.github -}} + + {{- end }} + {{ with .Site.Params.sourcehut -}} + + {{- end }} + {{ with .Site.Params.email -}} + + {{- end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 566ac1d..3f387c0 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -17,9 +17,11 @@