diff --git a/README.md b/README.md index 6df5b7c..5a7fa2a 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,9 @@ We give the semantics of the various fields (all of whom are optional). words. It will appear below your name. - `email`: Your email. It will appear next to an envelope in monospace font. + - `clickable-email`: A Boolean deciding whether your email should be a + `mailto:` hyperlink, allowing users to open it in their email client by + clicking on it. By default, it is `false` (no clickable links). - `location`: Information about your location (university, office, …). It will appear next to a pin icon. diff --git a/pandoc/template.html4 b/pandoc/template.html4 index 8e09160..fd85122 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -84,7 +84,13 @@

$location$

$endif$ $if(email)$ -

$email$

+ $for(email)$ +

+ $if(clickable-email)$$endif$ + $email$ + $if(clickable-email)$$endif$ +

+ $endfor$ $endif$
$if(orcid)$ diff --git a/src/index.md b/src/index.md index 67a2a7d..e59c032 100644 --- a/src/index.md +++ b/src/index.md @@ -6,6 +6,7 @@ description-meta: PhD student in 👽 science og-url: https://basicpage.github.io location: Some lab, office 777 email: noreply@noemail.com +clickable-email: false picture: img/profile.png picture-round: false side-by-side: true