|
1 | 1 | {{ $links := .Site.Params.links }}
|
2 |
| -<footer class="d-print-none"> |
3 |
| - <div class="footer__links"> |
4 |
| - <nav> |
5 |
| - {{ with site.GetPage "page" "docs/tutorials/stateless-application/hello-minikube" }}<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>{{ end }} |
6 |
| - {{ $sections := slice "docs/home" "blog" "training" "partners" "community" "case-studies" }} |
7 |
| - {{ range $sections }} |
8 |
| - {{ with site.GetPage "section" . }}<a class="text-white" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>{{ end }} |
9 |
| - {{ end }} |
10 |
| - </nav> |
11 |
| - </div> |
12 |
| - <div class="container-fluid"> |
| 2 | +<footer class="bg-dark py-5 row d-print-none"> |
| 3 | + <div class="container-fluid mx-sm-5"> |
13 | 4 | <div class="row">
|
14 |
| - <div class="col-6 col-sm-2 text-xs-center order-sm-2"> |
| 5 | + <div class="col-6 col-sm-4 text-xs-center order-sm-2"> |
15 | 6 | {{ with $links }}
|
16 | 7 | {{ with index . "user"}}
|
17 | 8 | {{ template "footer-links-block" . }}
|
18 | 9 | {{ end }}
|
19 | 10 | {{ end }}
|
20 | 11 | </div>
|
21 |
| - <div class="col-6 col-sm-2 text-right text-xs-center order-sm-3"> |
| 12 | + <div class="col-6 col-sm-4 text-right text-xs-center order-sm-3"> |
22 | 13 | {{ with $links }}
|
23 | 14 | {{ with index . "developer"}}
|
24 | 15 | {{ template "footer-links-block" . }}
|
25 | 16 | {{ end }}
|
26 | 17 | {{ end }}
|
27 | 18 | </div>
|
28 |
| - <div class="col-12 col-sm-8 text-center order-sm-2"> |
29 |
| - {{ with .Site.Params.copyright_k8s }}<small class="text-white">© {{ now.Year}} {{ T "main_documentation_license" | safeHTML }}</small>{{ end }} |
30 |
| - <br/> |
31 |
| - {{ with .Site.Params.copyright_linux }}<small class="text-white">Copyright © {{ now.Year }} {{ T "main_copyright_notice" | safeHTML }}</small>{{ end }} |
32 |
| - <br/> |
33 |
| - <small class="text-white">{{ T "china_icp_license" }} 京ICP备17074266号-3</small> |
34 |
| - {{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank">{{ T "footer_privacy_policy" }}</a></small>{{ end }} |
35 |
| - {{ if not .Site.Params.ui.footer_about_disable }} |
36 |
| - {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }} |
37 |
| - {{ end }} |
| 19 | + <div class="col-12 col-sm-4 text-center py-2 order-sm-2"> |
| 20 | + {{ with .Site.Params.copyright }}<small class="text-white">© {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }} |
| 21 | + {{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank" rel="noopener">{{ 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 }} |
38 | 25 | </div>
|
39 | 26 | </div>
|
40 | 27 | </div>
|
|
43 | 30 | <ul class="list-inline mb-0">
|
44 | 31 | {{ range . }}
|
45 | 32 | <li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
|
46 |
| - <a class="text-white" target="_blank" href="{{ .url }}"> |
| 33 | + <a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}"> |
47 | 34 | <i class="{{ .icon }}"></i>
|
48 | 35 | </a>
|
49 | 36 | </li>
|
|
0 commit comments