From d906e54906d6dfe5586ddf10e085cbf324f91cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Winterhalter?= Date: Thu, 17 Oct 2024 22:36:55 +0200 Subject: [PATCH] Add short bio --- pandoc/template.html4 | 11 ++++++++--- src/index.md | 1 + website/style.css | 6 +++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pandoc/template.html4 b/pandoc/template.html4 index f41df9c..c354789 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -34,9 +34,14 @@ $endif$
My picture - $if(author)$ -

$author$

- $endif$ +
$for(include-before)$ diff --git a/src/index.md b/src/index.md index e5479a8..5efe2fc 100644 --- a/src/index.md +++ b/src/index.md @@ -1,6 +1,7 @@ --- title: Template homepage author: Templato +shortbio: PhD student in 👽 science --- # Super basic info diff --git a/website/style.css b/website/style.css index 0f7c358..01abf80 100644 --- a/website/style.css +++ b/website/style.css @@ -40,7 +40,6 @@ header { header img { flex: 1; - margin: 10px; max-width: 200px; } @@ -50,6 +49,11 @@ header p { margin: 10px; } +header aside { + display: flex; + flex-direction: column; +} + /*** MAIN ***/ main {