Mise à jour des infos de contact
* Supprime les données privées téléphone et adresse postale * Supprime la section Informations professionnelles Co-Authored-by: Racine Alexandre <alex@alexracine.ch>master
parent
add990fabb
commit
aeb8cd2b7d
14
config.toml
14
config.toml
|
@ -101,21 +101,13 @@ unsafe= true
|
||||||
# Which kind of git forge is it? GitHub, a Gitlab instance, a Gitea intance?
|
# Which kind of git forge is it? GitHub, a Gitlab instance, a Gitea intance?
|
||||||
type = "gitea" # github, gitlab, gitea
|
type = "gitea" # github, gitlab, gitea
|
||||||
|
|
||||||
# Professional contact data
|
|
||||||
[params.contactsPro]
|
|
||||||
address = "Chemin des Falaises 2, 1005 Lausanne"
|
|
||||||
phone = "+41 21 314 50 74"
|
|
||||||
email = "alexandre.racine@chuv.ch"
|
|
||||||
# publickey = ""
|
|
||||||
# fingerprint = "843D 0CB6 A576 D7BE 4BF6 A63B 692D 97C3 D022 8A99"
|
|
||||||
|
|
||||||
# Personal contact data
|
# Personal contact data
|
||||||
[params.contactsPriv]
|
[params.contactsPriv]
|
||||||
Function = "Bibliothécaire"
|
Function = "Bibliothécaire"
|
||||||
address = "Av. du Vieux-Moulin 8"
|
# address = "Av. du Vieux-Moulin 8"
|
||||||
ZIP = "1018"
|
# ZIP = "1018"
|
||||||
Place = "Lausanne"
|
Place = "Lausanne"
|
||||||
phone = "+41 79 390 89 27"
|
# phone = "+41 79 390 89 27"
|
||||||
email = "alex@alexracine.ch"
|
email = "alex@alexracine.ch"
|
||||||
publickey = "alex-racine-pub.asc"
|
publickey = "alex-racine-pub.asc"
|
||||||
fingerprint = "8F0A C587 9360 DA46 36C4 B8FA 45E8 753A 63D7 859F"
|
fingerprint = "8F0A C587 9360 DA46 36C4 B8FA 45E8 753A 63D7 859F"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Contacts"
|
title: "Contacts"
|
||||||
date: 2023-09-03T22:06:11+01:00
|
date: 2024-12-15T21:30:00+01:00
|
||||||
publishdate: 2023-09-03
|
publishdate: 2023-09-03
|
||||||
draft: false
|
draft: false
|
||||||
description: "La liste de mes coordonnées de contact."
|
description: "La liste de mes coordonnées de contact."
|
||||||
|
|
|
@ -43,9 +43,6 @@
|
||||||
{{ if .Site.Params.contactsPriv }}
|
{{ if .Site.Params.contactsPriv }}
|
||||||
{{ partial "perso" . }}
|
{{ partial "perso" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.contactsPro }}
|
|
||||||
{{ partial "pro" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if eq $title "Applications" }}
|
{{ if eq $title "Applications" }}
|
||||||
{{ .Content -}}
|
{{ .Content -}}
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
<dt>{{ i18n "e-mail" }}</dt>
|
<dt>{{ i18n "e-mail" }}</dt>
|
||||||
<dd><a href="mailto:{{ . }}" itemprop="email">{{ . }}</a></dd>
|
<dd><a href="mailto:{{ . }}" itemprop="email">{{ . }}</a></dd>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .Site.Params.contactsPriv.address }}
|
||||||
<dt>{{ i18n "address" }}</dt>
|
<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>
|
<dd><span itemprop="address">{{ with .Site.Params.contactsPriv.address }}{{ . }}, {{ end }}{{ with .Site.Params.contactsPriv.ZIP }}{{ . }}{{ end }} {{ with .Site.Params.contactsPriv.Place }}{{ . }}{{ end }}</span></dd>
|
||||||
|
{{ end }}
|
||||||
{{ with .Site.Params.contactsPriv.phone }}
|
{{ with .Site.Params.contactsPriv.phone }}
|
||||||
<dt>{{ i18n "tel" }}</dt>
|
<dt>{{ i18n "tel" }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
<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>
|
|
Loading…
Reference in New Issue