semantic-indieweb/layouts/partials/social.html

11 lines
484 B
HTML

<div class="social-box">
{{ range .Site.Params.Social }}
{{ if .email }}
<a class="glyph u-email" href="mailto:{{ .email }}" rel="me"><i class="{{ .icon }}"></i></a>
{{ else if .publicKey }}
<a class="glyph u-pgp u-key" href="{{ .publicKey | absURL }}" rel="pgpkey" title="{{ .fingerprint }}"><i class="{{ .icon }}"></i></a>
{{ else }}
<a class="glyph u-url" href="{{ .profile }}" rel="me"><i class="{{ .icon }}"></i></a>
{{ end }}
{{ end }}
</div>