From 44f75e61d6a948d48f8ce168f38de72413c820b1 Mon Sep 17 00:00:00 2001 From: aey Date: Sat, 16 May 2026 18:05:13 +0200 Subject: [PATCH 1/8] Add python dependencies --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..96513de --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +smed @ git+https://codeberg.org/madr/smed@main +smed_layouts @ git+https://codeberg.org/madr/smed-layouts@v1.0.1 +smed_markdown @ git+https://codeberg.org/madr/smed-markdown@v1.0.0 -- 2.45.3 From 06a71b0b8336625dfcb7f10393d8f2d32002b622 Mon Sep 17 00:00:00 2001 From: aey Date: Sat, 16 May 2026 19:06:57 +0200 Subject: [PATCH 2/8] Ignore python files --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f378cbb..8841aba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -node_modules +.venv +__pycache__ pub +.ropeproject -- 2.45.3 From 082e3de2cc01db21928aad03f3c5e9b0fad935fc Mon Sep 17 00:00:00 2001 From: aey Date: Sat, 16 May 2026 19:08:19 +0200 Subject: [PATCH 3/8] Update CSS --- {assets => src}/cv.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename {assets => src}/cv.css (96%) diff --git a/assets/cv.css b/src/cv.css similarity index 96% rename from assets/cv.css rename to src/cv.css index 3007889..4023584 100644 --- a/assets/cv.css +++ b/src/cv.css @@ -66,9 +66,9 @@ a:active { [href^="mailto"]::before { content: "✉️ "; } -[href^="https://github.com"]::before +[href^="https://codeberg.org"]::before { - content: "🐙 "; + content: "⛰️ "; } [href^="https://madr"]::before { @@ -79,7 +79,7 @@ a:active { padding: 0.3em; } [href$="pdf"]::before { - content: "📑 "; + content: "⬇️ "; } [href$="pdf"]:hover::before, [href$="pdf"]:focus::before { @@ -196,7 +196,8 @@ the upcoming Container queries was a thing. padding: 1em; color: #111; display: flex; - justify-content: space-between; + gap: 2rem; + justify-content: flex-start; flex-direction: column; align-items: center; } -- 2.45.3 From afd0d72ce607fadb6c28e10a2e7604c46f668cb1 Mon Sep 17 00:00:00 2001 From: aey Date: Sat, 16 May 2026 19:08:52 +0200 Subject: [PATCH 4/8] Migrate from Handlebars to Jinja --- layouts/{cv.hbs => cv.html.j2} | 86 +++++++++++++++++----------------- 1 file changed, 43 insertions(+), 43 deletions(-) rename layouts/{cv.hbs => cv.html.j2} (60%) diff --git a/layouts/cv.hbs b/layouts/cv.html.j2 similarity index 60% rename from layouts/cv.hbs rename to layouts/cv.html.j2 index fca6cb6..77282d8 100644 --- a/layouts/cv.hbs +++ b/layouts/cv.html.j2 @@ -1,6 +1,6 @@