revuoxmrtheme/layouts/partials/bottom_nav_icons.html
2024-07-03 15:02:11 -07:00

9 lines
No EOL
316 B
HTML

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