Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CSpub
Crypto Migration and Agility
Commits
7bc63d2b
Commit
7bc63d2b
authored
May 09, 2021
by
Nouri-Alnahawi
Browse files
add impress to footer
parent
019a2c97
Pipeline
#69961
passed with stages
in 1 minute and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config.toml
View file @
7bc63d2b
...
...
@@ -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"
...
...
layouts/partials/footer.html
View file @
7bc63d2b
...
...
@@ -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 }}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment