Skip to content

Commit

Permalink
Add short bio
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoWinterhalter committed Oct 17, 2024
1 parent 0dcfd9b commit d906e54
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
11 changes: 8 additions & 3 deletions pandoc/template.html4
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ $endif$
<body>
<header>
<img src="img/profile.png" alt="My picture">
$if(author)$
<h1>$author$</h1>
$endif$
<aside>
$if(author)$
<h1>$author$</h1>
$endif$
$if(shortbio)$
<h2>$shortbio$</h2>
$endif$
</aside>
</header>
<main>
$for(include-before)$
Expand Down
1 change: 1 addition & 0 deletions src/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Template homepage
author: Templato
shortbio: PhD student in 👽 science
---

# Super basic info
Expand Down
6 changes: 5 additions & 1 deletion website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ header {

header img {
flex: 1;
margin: 10px;
max-width: 200px;
}

Expand All @@ -50,6 +49,11 @@ header p {
margin: 10px;
}

header aside {
display: flex;
flex-direction: column;
}

/*** MAIN ***/

main {
Expand Down

0 comments on commit d906e54

Please sign in to comment.