Skip to content

Commit 64b722d

Browse files
Merge pull request gardener#672 from n-boshnakov/fix-footer-urls
Resolved footer links issue
2 parents 3222ff8 + 622e020 commit 64b722d

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

website/hugo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ github_repo = "https://github.com/gardener/website-generator"
7575
defaultURL = "https://github.com/gardener/documentation/tree/master/website/"
7676
editURL = "https://github.com/gardener/documentation/edit/master/website/"
7777
issueURL = "https://github.com/gardener/documentation/issues"
78-
copyright = "Copyright 2019-2025 Gardener project authors."
78+
copyright = "Copyright 2019-2025 Gardener project authors"
7979
termsOfUseURL = "https://www.sap.com/about/legal/terms-of-use.html"
8080
privacyStatementURL = "https://www.sap.com/about/legal/privacy.html"
8181
legalDisclosureURL = "https://www.sap.com/about/legal/impressum.html"

website/hugo/layouts/partials/footer.html

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,28 @@
4444
</ul>
4545
{{with .Site.Params.copyright}}
4646
<span class="copyright">{{.}} {{with $.Site.Params.termsOfUseURL}}
47-
<a href='{{.}}'>
48-
Terms of Use
49-
<i class="fa fa-external-link" aria-hidden="true"></i>
50-
</a>
51-
|
52-
<a href='{{.}}'>
53-
Privacy Statement
54-
<i class="fa fa-external-link" aria-hidden="true"></i>
55-
</a>
56-
|
57-
<a href='{{.}}'>
58-
Legal Disclosure
59-
<i class="fa fa-external-link" aria-hidden="true"></i>
60-
</a>
61-
{{end}}</span>
47+
<div style="margin-top: 2%;">
48+
<a href='{{.}}'>
49+
Terms of Use
50+
<i class="fa fa-external-link" aria-hidden="true"></i>
51+
</a>
52+
{{end}}
53+
|
54+
{{with $.Site.Params.privacyStatementURL}}
55+
<a href='{{.}}'>
56+
Privacy Statement
57+
<i class="fa fa-external-link" aria-hidden="true"></i>
58+
</a>
59+
{{end}}
60+
|
61+
{{with $.Site.Params.legalDisclosureURL}}
62+
<a href='{{.}}'>
63+
Legal Disclosure
64+
<i class="fa fa-external-link" aria-hidden="true"></i>
65+
</a>
66+
{{end}}
67+
</div>
68+
</span>
6269
{{end}}
6370
</div>
6471
</footer>

0 commit comments

Comments
 (0)