hugo-theme/layouts/partials/social_media.html

11 lines
357 B
HTML
Raw Permalink Normal View History

2024-10-21 13:47:30 +02:00
{{ with $.Site.Params.social_media.items }}
{{ range . }}
{{ if .enabled }}
<a href="{{ .link | safeURL | default "#" }}" target="_blank" title="{{ .title }}" class="flex flex-row mr-2">
<span class="hidden">{{ .title }}</span>
<i class="h-6 w-6 flex-none"> {{ partial "icon.html" .icon }} </i>
</a>
{{ end }}
{{ end }}
{{ end}}