revuoxmrtheme/layouts/partials/right_icons.html
2024-07-03 12:15:11 -07:00

8 lines
No EOL
278 B
HTML

{{ with .Site.Params.right_icons }}
{{ range . }}
{{ $target := cond .external "_blank" "_self" }}
<a class="icon" href="{{ .link | safeURL }}" target="{{ $target }}">
<img src="/img/{{ .icon }}" alt="{{ .icon_alt }}" title="{{ .title }}" />
</a>
{{ end }}
{{ end }}