extroonie.com/layouts/partials/contacts.html
Extroonie 68e2c30928
Some checks failed
Check site / build (push) Has been cancelled
feat: initial commit
2026-09-21 12:31:51 -07:00

19 lines
568 B
HTML

<div class="contact-links" aria-label="Contact and profiles">
<span>Reach out:</span>{{ range hugo.Data.contacts.links }}
{{ if .username }}
<span class="discord-contact"
><button
hidden
class="contact-link"
type="button"
data-copy="{{ .username }}"
aria-label="Copy Discord username: {{ .username }}"
>
{{ .name }}</button
><span class="discord-fallback">{{ .name }}: <span>{{ .username }}</span></span></span
>
{{ else }}
<a class="contact-link" href="{{ .url }}">{{ .name }}</a>
{{ end }}
{{ end }}
</div>