Commit 7bc63d2b authored by Nouri-Alnahawi's avatar Nouri-Alnahawi
Browse files

add impress to footer

parent 019a2c97
Pipeline #69961 passed with stages
in 1 minute and 7 seconds
......@@ -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"
......
......@@ -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">&copy; {{ 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 }}&copy; {{ 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 }}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment