forked from sr2/hugo-sr2
feat: add status indicator option to footer links
This commit is contained in:
parent
f7e91119a5
commit
2552bc1e9c
1 changed files with 10 additions and 4 deletions
|
|
@ -31,8 +31,11 @@
|
||||||
{{ if .icon }}
|
{{ if .icon }}
|
||||||
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
|
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .text }}</a
|
{{ .text }}
|
||||||
>
|
{{ if .status }}
|
||||||
|
<span class="status-indicator"></span>
|
||||||
|
{{ end }}
|
||||||
|
</a>
|
||||||
{{ else if .caption }}
|
{{ else if .caption }}
|
||||||
<div class="footer__menu__caption">{{ .caption }}</div>
|
<div class="footer__menu__caption">{{ .caption }}</div>
|
||||||
{{ else if .logo }}
|
{{ else if .logo }}
|
||||||
|
|
@ -68,8 +71,11 @@
|
||||||
{{ if .icon }}
|
{{ if .icon }}
|
||||||
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
|
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .text }}</a
|
{{ .text }}
|
||||||
>
|
{{ if .status }}
|
||||||
|
<span class="status-indicator"></span>
|
||||||
|
{{ end }}
|
||||||
|
</a>
|
||||||
{{ else if .caption }}
|
{{ else if .caption }}
|
||||||
<div class="footer__menu__caption">{{ .caption }}</div>
|
<div class="footer__menu__caption">{{ .caption }}</div>
|
||||||
{{ else if .logo }}
|
{{ else if .logo }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue