extroonie.com/layouts/partials/contacts.html
Extroonie 4a6f6b2062
Some checks are pending
Check site / build (push) Waiting to run
feat: initial commit
2026-09-19 08:37:03 -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>