From 62ef3bb5f7915d2326bcc9f351265107425fc087 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 14 Jun 2026 22:19:49 +0200 Subject: Index page in Typst --- site/index.typ | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 site/index.typ (limited to 'site/index.typ') diff --git a/site/index.typ b/site/index.typ new file mode 100644 index 0000000..4b615a4 --- /dev/null +++ b/site/index.typ @@ -0,0 +1,30 @@ +#import "/common.typ": template, link-self, webroot, format-date-en +#let payload = json(sys.inputs.payload) + +#show: template.with( + "redman.xyz", + html.h1("redman.xyz"), +) + +I'm Paweł Redman, known online as enneract, a software engineer working on LTE/NR Layer 1 with a B.Sc. in Optics and Photonics Engineering. + += Latest posts + +#for page in payload.pages { + let date = datetime( + year: page.year, + month: page.month, + day: page.day, + ) + + if (datetime.today() - date).days() > 365 { + break + } + + format-date-en(date) + " " + link(webroot + page.url, page.title) +} + += Selected projects + -- cgit