hugo-theme/layouts/partials/social_media.html
2024-10-21 13:47:30 +02:00

11 lines
357 B
HTML

{{ 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}}