Skip to content

Commit 7891761

Browse files
committed
Adds LF trademark usage link to footer
1 parent c1d7fa8 commit 7891761

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

config/_default/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ twitter = "calisti12"
4848

4949
# email = ""
5050

51-
copyright = "kube-logging authors"
51+
copyright = "kube-logging authors | "
5252

5353
relativeURLs = true
5454

layouts/partials/footer.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!-- Copied from Docsy to add textual links because https://github.com/google/docsy/pull/1500 is not merged yet -->
2+
3+
{{ $links := .Site.Params.links }}
4+
<footer class="bg-dark py-5 row d-print-none">
5+
<div class="container-fluid mx-sm-5">
6+
<div class="row">
7+
<div class="col-6 col-sm-4 text-xs-center order-sm-2">
8+
{{ with $links }}
9+
{{ with index . "user"}}
10+
{{ template "footer-links-block" . }}
11+
{{ end }}
12+
{{ end }}
13+
</div>
14+
<div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
15+
{{ with $links }}
16+
{{ with index . "developer"}}
17+
{{ template "footer-links-block" . }}
18+
{{ end }}
19+
{{ end }}
20+
</div>
21+
<div class="col-12 col-sm-4 text-center py-2 order-sm-2">
22+
<small class="text-white"><a class="text-white" href="https://www.linuxfoundation.org/trademark-usage/">Trademark Usage</a> | </small>
23+
{{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
24+
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank" rel="noopener">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
25+
{{ if not .Site.Params.ui.footer_about_disable }}
26+
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
27+
{{ end }}
28+
</div>
29+
</div>
30+
</div>
31+
</footer>
32+
{{ define "footer-links-block" }}
33+
<ul class="list-inline mb-0">
34+
{{ range . }}
35+
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
36+
<a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
37+
<i class="{{ .icon }}"></i>
38+
</a>
39+
</li>
40+
{{ end }}
41+
</ul>
42+
{{ end }}

0 commit comments

Comments
 (0)