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

35 lines
1.0 KiB
HTML
Raw Permalink Normal View History

<h2 id="contactsPro">{{ i18n "contactsPro" }}</h2>
<dl class="home-lists pro-contacts">
{{ with .Site.Params.contactsPro.email }}
<dt>{{ i18n "e-mail" }}</dt>
<dd><a href="mailto:{{ . }}" itemprop="email">{{ . }}</a></dt>
{{end}}
{{ with .Site.Params.contactsPro.address }}
<dt>{{ i18n "address" }}</dt>
<dd><span itemprop="address">{{ . }}</span></dd>
{{end}}
{{ with .Site.Params.contactsPro.mobile}}
<dt>{{ i18n "mobile" }}</dt>
<dd>
<a href="tel:{{ replace . " " ""}}">
<span itemprop="telephone">{{ . }}</span>
</a>
</dd>
{{end}}
{{ with .Site.Params.contactsPro.phone}}
<dt>{{ i18n "tel" }}</dt>
<dd>
<a href="tel:{{ replace . " " ""}}">
<span itemprop="telephone">{{ . }}</span>
</a>
</dd>
{{end}}
{{ with .Site.Params.contactsPro.publickey }}
<dt>{{ i18n "pubkey" }}</dt>
<dd><a href="/{{ . }}">{{ . }}</a></dd>
{{end}}
{{ with .Site.Params.contactsPro.fingerprint}}
<dt>{{ i18n "fingerprint" }}</dt>
<dd><code>{{ . }}</code></dd>
{{end}}
</dl>