<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>