alex.racine/themes/portfoliGor/layouts/partials/perso.html

42 lines
1.4 KiB
HTML

<h2 id="contactsPriv">{{ i18n "contactsPriv" }}</h2>
<dl class="home-lists perso-contacts">
{{ with .Site.Params.contactsPriv.email }}
<dt>{{ i18n "e-mail" }}</dt>
<dd><a href="mailto:{{ . }}" itemprop="email">{{ . }}</a></dd>
{{ end }}
<dt>{{ i18n "address" }}</dt>
<dd><span itemprop="address">{{ with .Site.Params.contactsPriv.address }}{{ . }}{{ end }}, {{ with .Site.Params.contactsPriv.ZIP }}{{ . }}{{ end }} {{ with .Site.Params.contactsPriv.Place }}{{ . }}{{ end }}</span></dd>
{{ 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>