Skip to content

Commit 500d20e

Browse files
authored
docs: add copyright (#66)
Signed-off-by: lixd <[email protected]>
1 parent 76fb2a1 commit 500d20e

File tree

2 files changed

+66
-1
lines changed

2 files changed

+66
-1
lines changed

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ section = ["HTML", "print", "RSS"]
101101

102102
[params]
103103
copyright = "KubeClipper"
104-
privacy_policy = "https://policies.google.com/privacy"
104+
privacy_policy = "https://lfprojects.org/policies/privacy-policy/"
105105

106106
# First one is picked as the Twitter card image if not set on page.
107107
# images = ["images/project-illustration.png"]

layouts/partials/footer.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{{ $links := .Site.Params.links }}
2+
<footer class="bg-dark py-5 row d-print-none">
3+
<div class="container-fluid mx-sm-5">
4+
<div class="row">
5+
<div class="col-6 col-sm-4 text-xs-center order-sm-2">
6+
{{ with $links }}
7+
{{ with .user }}
8+
{{ template "footer-links-block" . }}
9+
{{ end }}
10+
{{ end }}
11+
</div>
12+
<div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
13+
{{ with $links }}
14+
{{ with .developer }}
15+
{{ template "footer-links-block" . }}
16+
{{ end }}
17+
{{ end }}
18+
</div>
19+
<div class="col-12 col-sm-4 text-center py-2 order-sm-1">
20+
{{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
21+
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
22+
{{ if not .Site.Params.ui.footer_about_disable }}
23+
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
24+
{{ end }}
25+
</div>
26+
</div>
27+
28+
<!-- CNCF Footer - Required by CNCF Website Guidelines -->
29+
<div class="row mt-4 pt-4 border-top">
30+
<div class="col-12 text-center">
31+
<!-- CNCF Logo and Statement -->
32+
<div class="mb-3">
33+
<a href="https://cncf.io/" target="_blank" rel="noopener">
34+
<img src="https://raw.githubusercontent.com/cncf/artwork/master/other/cncf/horizontal/white/cncf-white.svg"
35+
alt="Cloud Native Computing Foundation logo"
36+
style="height: 40px; margin-bottom: 10px;">
37+
</a>
38+
</div>
39+
<p class="text-white small mb-2">
40+
We are a <a href="https://cncf.io/" target="_blank" rel="noopener" class="text-white">Cloud Native Computing Foundation</a> sandbox project.
41+
</p>
42+
43+
<!-- Copyright and Policies - Required by CNCF -->
44+
<p class="text-white small mb-0">
45+
Copyright © {{ now.Year }} KubeClipper, a Series of LF Projects, LLC.
46+
<br>
47+
For website terms of use, trademark policy and other project policies please see
48+
<a href="https://lfprojects.org/policies/" target="_blank" rel="noopener" class="text-white">lfprojects.org/policies</a>.
49+
</p>
50+
</div>
51+
</div>
52+
</div>
53+
</footer>
54+
{{ define "footer-links-block" }}
55+
<ul class="list-inline mb-0">
56+
{{ range . }}
57+
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
58+
<a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
59+
<i class="{{ .icon }}"></i>
60+
</a>
61+
</li>
62+
{{ end }}
63+
</ul>
64+
{{ end }}
65+

0 commit comments

Comments
 (0)