|
1 |
| -{{ $links := .Site.Params.links -}} |
2 | 1 | <footer class="td-footer row d-print-none">
|
3 | 2 | <div class="container-fluid">
|
4 | 3 | <div class="row mx-md-2">
|
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 }} |
| 4 | + <div class="col-6 col-sm-4 text-xs-center order-sm-1"> |
| 5 | + {{ partial "footer/left.html" . }} |
11 | 6 | </div>
|
12 | 7 | <div class="col-6 col-sm-4 text-end text-xs-center order-sm-3">
|
13 |
| - {{ with $links }} |
14 |
| - {{ with index . "developer" }} |
15 |
| - {{ template "footer-links-block" . }} |
16 |
| - {{ end }} |
17 |
| - {{ end }} |
| 8 | + {{ partial "footer/right.html" . }} |
18 | 9 | </div>
|
19 | 10 | <div class="td-footer__copyright-etc col-12 col-sm-4 text-center py-2 order-sm-2">
|
20 |
| - {{ with .Site.Params.copyright -}} |
21 |
| - <span>© {{ now.Year }} {{ . }} {{ T "footer_all_rights_reserved" }}</span> |
22 |
| - {{- end }} |
23 |
| - {{ with .Site.Params.privacy_policy -}} |
24 |
| - <span class="ms-1"><a href="{{ . }}" target="_blank" rel="noopener">{{ T "footer_privacy_policy" }}</a></span> |
25 |
| - {{- end }} |
26 |
| - {{ if not .Site.Params.ui.footer_about_disable -}} |
27 |
| - {{ with .Site.GetPage "about" -}} |
28 |
| - <p class="td-footer__about mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p> |
29 |
| - {{- end -}} |
30 |
| - {{ end }} |
| 11 | + {{ partial "footer/center.html" . }} |
31 | 12 | </div>
|
32 | 13 | </div>
|
33 | 14 | </div>
|
34 | 15 | </footer>
|
35 |
| - |
36 |
| -{{- define "footer-links-block" }} |
37 |
| -<ul class="td-footer__links-list"> |
38 |
| - {{ range . }} |
39 |
| - <li class="td-footer__links-item" data-bs-toggle="tooltip" title="{{ .name }}" aria-label="{{ .name }}"> |
40 |
| - <a target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}"> |
41 |
| - <i class="{{ .icon }}"></i> |
42 |
| - </a> |
43 |
| - </li> |
44 |
| - {{ end }} |
45 |
| -</ul> |
46 |
| -{{ end -}} |
0 commit comments