portfoligor/layouts/partials/perso.html

15 lines
580 B
HTML

<ul>
{{ with .Site.Params.contactsPriv.address }}
<li><span itemprop="address">adresse: {{ . }}</span></li>
{{ end }}
{{ with .Site.Params.contactsPriv.email }}
<li>email: <a href="mailto:{{ . }}" itemprop="email">{{ . }}</a></li>
{{ end }}
{{ with .Site.Params.contactsPriv.pĥone }}
<li>tél.: <a href="tel:{{ replace . " " ""}}"><span itemprop="telephone">{{ . }}</span></a></li>
{{end}}
{{ with .Site.Params.contactsPriv.mobile }}
<li>mobile: <a href="tel:{{ replace . " " ""}}"><span itemprop="telephone">{{ . }}</span></a></li>
{{end}}
</ul>