aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
blob: 9686e119ca342a4833e69c22019c9e47f6f033e9 (plain)
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
33
34
35
36
37
38
39
40
41
42
<footer class="bg-black w-100 p-4 near-white">
  <div class="max-w-screen-md mx-auto">
    {{ if in .Site.Params.mainSections .Section }}
      <a
        href="/{{ .Section }}/index.xml"
        class="color-inherit block tc my-2 dim"
      >
        {{ T "rss_follow" (dict "section" (T .Section)) }}
        <i class="fa-solid fa-rss"></i>
      </a>
    {{ end }}


    <ul class="m-0 p-0 list overflow-hidden avenir tc bb b--white-40">
      {{ range .Site.Menus.footer }}
        <li class="dib dim">
          <a class="block f6 p-2 near-white" href="{{ .URL | relLangURL }}"
            >{{ T .Name | safeHTML }}
          </a>
        </li>
      {{ end }}
    </ul>

    {{ with .Site.GetPage "footer.md" }}
      {{ .Content }}
    {{ end }}

    {{ partial "attribution.html" .Site.Params }}


    <div class="tc my-2">
      Made in anger with
      <a
        href="https://git.oscarnajera.com/hugo-minimalist-theme/about/"
        class="silver hover-near-white"
      >
        hugo-minimalist
      </a>
      theme.
    </div>
  </div>
</footer>