summaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
blob: a8c558f6dd0022dafe929286ad12702f9cad3b98 (plain) (blame)
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
27
28
29
30
31
32
<footer class="footer">
    <div class="footer-row">
        {{ if .IsHome }}
        <a class="footer-item" href="{{ "/index.xml" | relURL }}">
            The Site Feed
            <i class="icofont-rss"></i>
        </a>
        {{ else }}
            <a class="footer-item" href="{{ "/index.xml" | relURL }}">
                The Site Feed
                <i class="icofont-rss"></i>
            </a>
            {{ with .OutputFormats.Get "rss" }}
                <a class="footer-item" href="{{ .Permalink }}">
                    The Taxonomy Feed
                    <i class="icofont-rss"></i>
                </a>
            {{ end }}
        {{ end }}
    </div>
    {{ range .Site.Params.footer_rows }}
        <div class="footer-row">
            {{ range .items }}
                {{ with .pre }}
                    <span class="footer-item">{{ . | safeHTML }}</span>
                {{ else }}
                    <a class="footer-item" href="{{ .url }}">{{ .name }}</a>
                {{ end }}
            {{ end }}
        </div>
    {{ end }}
</footer>