congo/layouts/partials/author-links.html

18 lines
589 B
HTML
Raw Normal View History

2023-11-12 10:52:28 +00:00
{{ with .Site.Params.Author.links }}
2021-08-20 07:02:08 +00:00
<div class="flex flex-wrap text-neutral-400 dark:text-neutral-500">
2021-08-15 08:41:40 +00:00
{{ range $links := . }}
{{ range $name, $url := $links }}
<a
class="px-1 transition-transform hover:scale-125 hover:text-primary-700 dark:hover:text-primary-400"
style="will-change:transform;"
href="{{ $url | safeURL }}"
2021-08-15 08:41:40 +00:00
target="_blank"
aria-label="{{ $name | title }}"
rel="me noopener noreferrer"
2021-08-15 08:41:40 +00:00
>{{ partial "icon.html" $name }}</a
>
{{ end }}
{{ end }}
</div>
{{ end }}