|
| 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">© {{ 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