aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-06 03:01:15 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-06 03:01:15 +0100
commitecb7569b3c047f6e6845f8a49f6eee3d6762a968 (patch)
treebb891a042c1ae57bb25c71bd739564e07812b6f4 /layouts/partials/footer.html
parent9dcafb5af5332ba0a5753abf441183417880a739 (diff)
downloadhugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.tar.gz
hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.tar.bz2
hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.zip
transfer so partial and defaults
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html27
1 files changed, 10 insertions, 17 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9686e11..4a977f1 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,25 +1,19 @@
-<footer class="bg-black w-100 p-4 near-white">
+<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="color-inherit block tc my-2 dim"
- >
+ <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 }}
-
- <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>
+ {{ 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 }}
@@ -27,8 +21,7 @@
{{ partial "attribution.html" .Site.Params }}
-
- <div class="tc my-2">
+ <div class="my-2">
Made in anger with
<a
href="https://git.oscarnajera.com/hugo-minimalist-theme/about/"