From b64c6969f6f26a665bc8f5d616417cba186fdbce Mon Sep 17 00:00:00 2001 From: Jonathan Baumann <> Date: Sun, 13 Apr 2025 22:08:33 +0200 Subject: [PATCH 1/4] modify pandoc template to support multiple emails, make email clickable as mailto: links --- pandoc/template.html4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandoc/template.html4 b/pandoc/template.html4 index 8e09160..f45a1b1 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -84,7 +84,9 @@

$location$

$endif$ $if(email)$ -

$email$

+ $for(email)$ +

$email$

+ $endfor$ $endif$
$if(orcid)$ From cddb36ee7396f96a335a8bcf8a3f551d26c13cb7 Mon Sep 17 00:00:00 2001 From: Jonathan Baumann <> Date: Mon, 1 Sep 2025 21:48:13 +0200 Subject: [PATCH 2/4] make mailto links optional --- README.md | 2 ++ pandoc/template.html4 | 2 +- src/index.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6df5b7c..87c4dc3 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ 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`: Whether your email should be a `mailto:` hyperlink, + allowing users to open it in their email client by clicking on it. - `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 f45a1b1..02fdb76 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -85,7 +85,7 @@ $endif$ $if(email)$ $for(email)$ -

$email$

+

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

$endfor$ $endif$
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 From eebe28e5c49d18a088ccd087bcdcc1f134c1dcc3 Mon Sep 17 00:00:00 2001 From: Jonathan Baumann <> Date: Tue, 7 Oct 2025 18:16:56 +0200 Subject: [PATCH 3/4] Implement suggestions from review Document that the `clickable-email` is a boolean, and false by default. Adhere to 80 character limit in `template.html4`. --- README.md | 5 +++-- pandoc/template.html4 | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87c4dc3..5a7fa2a 100644 --- a/README.md +++ b/README.md @@ -62,8 +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`: Whether your email should be a `mailto:` hyperlink, - allowing users to open it in their email client by clicking on it. + - `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 02fdb76..c7579bc 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -85,7 +85,9 @@ $endif$ $if(email)$ $for(email)$ -

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

+

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

$endfor$ $endif$
From 45c58963bc2e7cc10bf8fd275960e601e22af3ee Mon Sep 17 00:00:00 2001 From: Jonathan Baumann <91689174+j-bmn@users.noreply.github.com> Date: Wed, 8 Oct 2025 10:26:38 +0200 Subject: [PATCH 4/4] Update pandoc/template.html4 with suggestion from review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Théo Winterhalter --- pandoc/template.html4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pandoc/template.html4 b/pandoc/template.html4 index c7579bc..fd85122 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -85,9 +85,11 @@ $endif$ $if(email)$ $for(email)$ -

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

+

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

$endfor$ $endif$