diff --git a/config.toml b/config.toml index 04578d00c98724a9d85258637789c88656063a87..0d47be31438344ddaeb3c539eee2060faa890345 100644 --- a/config.toml +++ b/config.toml @@ -93,6 +93,10 @@ footer_about_disable = false image_url = "http://www.freepik.com" text = "Background Image Designed by Freepik" +[params.links.impress] + url = "https://fbi.h-da.de/en/index.php?id=15" + text = "Impress" + [outputFormats] [outputFormats.PRINT] baseName = "index" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f45d322c43d27c930124075e598d043c27133d69..66ae792fcde28b331e74e91606ce14bfd37fa395 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -17,17 +17,14 @@ {{ end }} </div> <div class="col-12 col-sm-4 text-center py-2 order-sm-2"> - <small> - {{ with $links }} - {{ with index . "image"}} - {{ template "footer-center-block" .}} - {{ end }} - {{ end }} - </small> - {{ with .Site.Params.copyright }}<p class="text-white">© {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</p>{{ end }} - {{ if not .Site.Params.ui.footer_about_disable }} - <!-- {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }} --> - {{ end }} + {{ with $links }} {{ with index . "image"}}<small><a class="text-white" href="{{ .image_url }}">{{ .text }}</a></small>{{ end }}{{ end }} + <p class="text-white"> + {{ with .Site.Params.copyright }}© {{ now.Year}} {{ .}}{{ end }} <br/> + {{ with $links }}{{ with index . "impress"}}<a class="text-white" href="{{ .url }}">{{ .text }}</a>{{ end }}{{ end }} + </p> + <!-- {{ if not .Site.Params.ui.footer_about_disable }} + {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }} + {{ end }} --> </div> </div> </div> @@ -44,7 +41,3 @@ {{ end }} </ul> {{ end }} - -{{ define "footer-center-block" }} - <a class="text-white" href="{{ .image_url }}">{{ .text }}</a> -{{ end }}