impovements to authors display

This commit is contained in:
Nuno Coração
2022-10-29 16:53:27 +01:00
parent dce219e75b
commit a336ae0261
7 changed files with 59 additions and 63 deletions
+3 -1
View File
@@ -22,10 +22,12 @@
{{ end }}
<div class="text-2xl sm:text-lg">
<div class="flex flex-wrap text-neutral-400 dark:text-neutral-500">
{{ range $name, $link := .data.social }}
{{ range .data.social }}
{{ range $name, $link := . }}
<a class="px-1 hover:text-primary-700 dark:hover:text-primary-400" href="{{ $link }}" target="_blank"
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial "icon.html" $name }}</a>
{{ end }}
{{ end }}
</div>
</div>
</div>