congo/layouts/partials/author-links.html

17 lines
487 B
HTML
Raw Normal View History

2021-08-15 08:41:40 +00:00
{{ with .Site.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 hover:text-primary-700 dark:hover:text-primary-400"
href="{{ $url }}"
target="_blank"
alt="{{ $name | title }}"
rel="me noopener noreferrer"
2021-08-15 08:41:40 +00:00
>{{ partial "icon.html" $name }}</a
>
{{ end }}
{{ end }}
</div>
{{ end }}