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 ...@@ -93,6 +93,10 @@ footer_about_disable = false
image_url = "http://www.freepik.com" image_url = "http://www.freepik.com"
text = "Background Image Designed by Freepik" text = "Background Image Designed by Freepik"
[params.links.impress]
url = "https://fbi.h-da.de/en/index.php?id=15"
text = "Impress"
[outputFormats] [outputFormats]
[outputFormats.PRINT] [outputFormats.PRINT]
baseName = "index" baseName = "index"
......
...@@ -17,17 +17,14 @@ ...@@ -17,17 +17,14 @@
{{ end }} {{ end }}
</div> </div>
<div class="col-12 col-sm-4 text-center py-2 order-sm-2"> <div class="col-12 col-sm-4 text-center py-2 order-sm-2">
<small> {{ with $links }} {{ with index . "image"}}<small><a class="text-white" href="{{ .image_url }}">{{ .text }}</a></small>{{ end }}{{ end }}
{{ with $links }} <p class="text-white">
{{ with index . "image"}} {{ with .Site.Params.copyright }}&copy; {{ now.Year}} {{ .}}{{ end }} <br/>
{{ template "footer-center-block" .}} {{ with $links }}{{ with index . "impress"}}<a class="text-white" href="{{ .url }}">{{ .text }}</a>{{ end }}{{ end }}
{{ end }} </p>
{{ end }} <!-- {{ if not .Site.Params.ui.footer_about_disable }}
</small> {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
{{ with .Site.Params.copyright }}<p class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</p>{{ end }} {{ 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 }}
</div> </div>
</div> </div>
</div> </div>
...@@ -44,7 +41,3 @@ ...@@ -44,7 +41,3 @@
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ 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