revuoxmrtheme/layouts/partials/bottom_nav_icons.html

9 lines
316 B
HTML
Raw Permalink Normal View History

2024-07-02 22:03:13 +00:00
{{ with .Site.Params.bottom_nav_icons }}
{{ range . }}
2024-07-03 22:02:11 +00:00
<!-- safeURL only works when the link is stored in a variable -->
{{ $link := .link }}
<a class="icon" href="{{ $link | safeURL }}" target="_blank">
2024-07-02 22:03:13 +00:00
<img src="/img/{{ .icon }}" alt="{{ .icon_alt }}" title="{{ .title }}" />
</a>
{{ end }}
{{ end }}