aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
blob: 9b2289ff4695f69d0f9c919fce5919cb6da6611f (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
<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.
      <noscript>
        <img
          src="https://test.oscarnajera.com/visitorcounter.gif?u={{ .Page.RelPermalink }}"
        />
      </noscript>
    </div>
  </div>
</footer>