portfoligor/layouts/partials/perso.html

44 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2021-10-29 22:34:24 +02:00
<h2 id="contactsPriv">{{ i18n "contactsPriv" }}</h2>
<dl class="home-lists">
{{ with .Site.Params.contactsPriv.email }}
<dt>{{ i18n "e-mail" }}</dt>
<dd><a href="mailto:{{ . }}" itemprop="email">{{ . }}</a></dd>
{{ end }}
{{ with .Site.Params.contactsPriv.address }}
<dt>{{ i18n "address" }}</dt>
<dd><span itemprop="address">{{ . }}</span></dd>
{{ end }}
{{ with .Site.Params.contactsPriv.phone }}
<dt>{{ i18n "tel" }}</dt>
<dd>
<a href="tel:{{ replace . " " ""}}">
<span itemprop="telephone">{{ . }}</span>
</a>
</dd>
{{end}}
{{ with .Site.Params.contactsPriv.mobile }}
<dt>{{ i18n "mobile" }}</dt>
<dd>
<a href="tel:{{ replace . " " ""}}">
<span itemprop="telephone">{{ . }}</span>
</a>
</dd>
{{end}}
{{ with .Site.Params.contactsPriv.publickey }}
<dt>{{ i18n "pubkey" }}</dt>
<dd><a href="/{{ . }}">{{ . }}</a></dd>
{{ end }}
{{ with .Site.Params.contactsPriv.fingerprint }}
<dt>{{ i18n "fingerprint" }}</dt>
<dd><code>{{ . }}</code></dd>
{{ end }}
{{ with .Site.Params.contactsPriv.xmpp }}
<dt class="smallcaps">{{ i18n "xmpp" }}</dt>
<dd>{{ . }}</dd>
{{ end }}
{{ with .Site.Params.contactsPriv.cv}}
<dt class="smallcaps">{{ i18n "cv" }}</dt>
<dd><a href="/{{ . }}">{{ . }}</a></dd>
{{end}}
</dl>