github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/themes/docsy/layouts/partials/footer.html (about) 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 index . "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 index . "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-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 }}--> 25 {{ with .Site.Params.copyright }}<small class="text-white">© {{ now.Year}} {{ T "footer_contrubutor" | safeHTML}}</small>{{ end }} 26 <div><small class="ml-1 text-white">{{ T "footer_licensed" | safeHTML}}</small></div> 27 </div> 28 </div> 29 </div> 30 </footer> 31 {{ define "footer-links-block" }} 32 <ul class="list-inline mb-0"> 33 {{ range . }} 34 <li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}"> 35 <a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}"> 36 <i class="{{ .icon }}"></i> 37 </a> 38 </li> 39 {{ end }} 40 </ul> 41 {{ end }}