dalaran.fr/themes/dalaran/layouts/partials/profile.html

49 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2024-09-28 12:53:17 +02:00
{{ with .Site.Params }}
<aside class="profile">
{{ if .introduction }}
<div>{{ .introduction }}</div>
{{ end }}
{{ if (isset . "mail") }}
<div class="profile-entry">
<span class="profile-key">
Mail:
</span>
<span class="profile-value">
<a href="mailto:{{ .mail }}">{{ .mail }}</a>
</span>
</div>
{{ end }}
2024-10-05 19:23:20 +02:00
{{ if (isset . "forge_url") }}
<div class="profile-entry">
<span class="profile-key">
Forge:
</span>
<span class="profile-value">
<a href="https://{{ .forge_url }}">{{ .forge_url }}</a>
</span>
</div>
{{ end }}
2024-09-28 12:53:17 +02:00
{{ if (isset . "pgp_key") }}
<div class="profile-entry">
<span class="profile-key">
PGP:
</span>
<span class="profile-value">
<a href="/{{ .pgp_keyfile }}">{{ .pgp_key }}</a>
</span>
</div>
{{ end }}
{{ if and (isset . "fediverse_id") (isset . "fediverse_url") }}
<div class="profile-entry">
<span class="profile-key">
Fediverse:
</span>
<span class="profile-value">
<a rel="me" href="{{ .fediverse_url }}">{{ .fediverse_id }}</a>
</span>
</div>
{{ end }}
</aside>
{{ end }}