Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion pandoc/template.html4
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@
<p><i class="fa-solid fa-location-dot fa-fw"></i> $location$</p>
$endif$
$if(email)$
<p><i class="fa-regular fa-envelope fa-fw"></i> <code>$email$</code></p>
$for(email)$
<p>
$if(clickable-email)$<a href="mailto:$email$">$endif$
<i class="fa-regular fa-envelope fa-fw"></i> <code>$email$</code>
$if(clickable-email)$</a>$endif$
</p>
$endfor$
$endif$
<div class="icons">
$if(orcid)$
Expand Down
1 change: 1 addition & 0 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down