aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
blob: 4a977f1213bd5972ed2e4a2d1d9128f48d2aea74 (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
<footer class="bg-black w-full p-4 text-center text-white text-lg">
  <div class="max-w-screen-md mx-auto">
    {{ if in .Site.Params.mainSections .Section }}
      <a href="/{{ .Section }}/index.xml" class="block my-2 hover:opacity-50">
        {{ T "rss_follow" (dict "section" (T .Section)) }}
        <i class="fa-solid fa-rss"></i>
      </a>
    {{ end }}

    {{ range .Site.Menus.footer }}
      <a
        class="inline hover:opacity-50 text-base p-2"
        href="{{ .URL | relLangURL }}"
        >{{ T .Name | safeHTML }}
      </a>
    {{ end }}

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

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

    <div class="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>