1
0
Fork 0
forked from sr2/hugo-sr2

feat: add status indicator option to footer links

This commit is contained in:
Iain Learmonth 2026-03-17 19:57:53 +00:00
parent f7e91119a5
commit 2552bc1e9c

View file

@ -31,8 +31,11 @@
{{ if .icon }}
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
{{ end }}
{{ .text }}</a
>
{{ .text }}
{{ if .status }}
<span class="status-indicator"></span>
{{ end }}
</a>
{{ else if .caption }}
<div class="footer__menu__caption">{{ .caption }}</div>
{{ else if .logo }}
@ -68,8 +71,11 @@
{{ if .icon }}
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
{{ end }}
{{ .text }}</a
>
{{ .text }}
{{ if .status }}
<span class="status-indicator"></span>
{{ end }}
</a>
{{ else if .caption }}
<div class="footer__menu__caption">{{ .caption }}</div>
{{ else if .logo }}