diff options
| author | eltrac <hi@eltr.ac> | 2026-03-18 15:51:16 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-03-18 15:51:16 +0800 |
| commit | e638bbc9c9a2d35918aa69db6134d547332b7bd1 (patch) | |
| tree | 26c79cd469a5f4fa50bf4b94df0c74810c5e7db2 /layouts | |
| parent | 0e5c1b0097b6e2995613e3441fa5e92044f5db04 (diff) | |
refactor: better footer links
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_partials/footer.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index 0fdd2c47..bf28dc51 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -10,11 +10,18 @@ <section class="flex justify-between items-center md:justify-start md:flex-col md:items-end"> + <!-- IndieWeb ring --> + <p class="inline-flex justify-center items-center gap-2"> + <a href="https://xn--sr8hvo.ws/previous">←</a> + <a href="https://xn--sr8hvo.ws">IndieWeb ring</a> + <a href="https://xn--sr8hvo.ws/next">→</a> + </p> <!-- External Links --> - <ul class="list-style-none flex items-center gap-2 ps-0 m-0 mt-2 md:justify-end"> + <ul class="list-style-none flex items-center gap-2 ps-0 m-0 md:justify-end"> {{ range .Site.Params.footerExternalLinks }} <li class="inline-flex items-center"> - <a href="{{ .link }}" title="{{ .name }}" target="_blank" data-tooltip> + <a href="{{ .link }}" title="{{ .name }}" target="_blank" data-tooltip + class="transition opacity-70 hover:opacity-100"> <img class="h-4 w-auto inline-block grayscale dark:invert" src="{{ .icon }}" @@ -28,11 +35,5 @@ {{ end }} </ul> - <!-- IndieWeb ring --> - <p class="inline-flex justify-center items-center gap-2"> - <a href="https://xn--sr8hvo.ws/previous">←</a> - <a href="https://xn--sr8hvo.ws">IndieWeb ring</a> - <a href="https://xn--sr8hvo.ws/next">→</a> - </p> </section> </footer> |
