summaryrefslogtreecommitdiff
path: root/layouts/_partials
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-08-18 21:37:04 +0800
committerEltrac <hi@guhub.cn>2025-08-18 21:37:04 +0800
commitcd48115d5fe030c0360cef31d25f182ebf69cc5b (patch)
treec6d2aff067498b22e2513b6555d6c7c1f21032d4 /layouts/_partials
parent3cb523476c9a03cc30dce726b66cfc70674efe5f (diff)
feat: add tooltip to footer external link icons
Former-commit-id: 48f90cc73857d87c539dab376155cc64065bb309
Diffstat (limited to 'layouts/_partials')
-rw-r--r--layouts/_partials/footer.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html
index 0698d5ab..fc77d69d 100644
--- a/layouts/_partials/footer.html
+++ b/layouts/_partials/footer.html
@@ -29,9 +29,11 @@
<!-- External Links -->
<ul class="list-style-none flex gap-2 ps-0 my-2 mx-0 md:justify-end">
{{ range .Site.Params.footerExternalLinks }}
- <li class="inline-flex items-center"><a href="{{ .link }}" title="{{ .name }}" target="_blank">
- <img class="h-4 w-auto inline-block rounded-full grayscale dark:invert" src="{{ .icon }}" />
- </a></li>
+ <li class="inline-flex items-center">
+ <a href="{{ .link }}" title="{{ .name }}" target="_blank" data-tooltip>
+ <img class="h-4 w-auto inline-block rounded-full grayscale dark:invert" src="{{ .icon }}" />
+ </a>
+ </li>
{{ end }}
</ul>
</section>