aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html38
1 files changed, 34 insertions, 4 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d4216d8..4a977f1 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,35 @@
-<footer id="footer" class="center pa2 bg-white-40">
- <span class="db tc black-80">
- &copy; {{ now.Format "2006" }} {{ with .Site.Params.footer.copyright }}{{ . | safeHTML }}{{ else }}{{ with .Site.Author.name }}{{ . }}{{ else }}{{ with .Site.Title }}{{ . }}{{ end }}{{ end }}{{ end }}. All Rights Reserved
- </span>
+<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>