mirror of https://github.com/lxndrblz/anatole.git

Alexander Eble
22.42.2021 3b4e8f37c6d17f73f211627f4b80dd23cfcb76be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<footer class="footer footer--{{ .footerClassModifier }}">        
    <div class="by_farbox">
        <ul class="footer__list">
            <li class="footer__item">&copy;
                {{ if isset .context.Site.Params "copyright" }}
                    {{ replace .context.Site.Params.copyright "{{ YEAR }}" (now.Format "2006") | markdownify }}
                {{ else }}
                    {{ .context.Site.Params.author }} {{ now.Format "2006"}}
                {{end}}
            </li>
            {{ range .context.Site.Menus.footer }}
            <li class="footer__item">
                <a href="{{ .URL }}" {{ if strings.HasPrefix .URL "http" }} target="_blank" rel="noopener noreferrer" {{ end }} title="{{ .Title }}">
                    {{ .Name }}
                </a>
            </li>
            {{ end }}
        </ul>
    </div>
</footer>
{{- partial "medium-zoom.html" .context -}}
{{- partial "math.html" .context -}}
{{- template "_internal/google_analytics_async.html" .context -}}
{{- if and (hugo.IsProduction) (.Site.Params.gtagId) -}}
    {{ partial "google-analytics-gtag-async.html" .context }}
{{- end -}}