From 056ee77ab2ed3cf488ac9b1b8ac82664948a42a3 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 11 Nov 2022 18:38:28 +0100 Subject: initial ocommit --- content/basics.html.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 content/basics.html.nix (limited to 'content/basics.html.nix') diff --git a/content/basics.html.nix b/content/basics.html.nix new file mode 100644 index 0000000..d7f7a90 --- /dev/null +++ b/content/basics.html.nix @@ -0,0 +1,26 @@ +{ html, data, ... }: + +let basics = data.basics; +in { + title = "About me"; + priority = 0; + body = with html; + with data.basics; + lines [ + (div { class = "row"; } [ + (div { class = "col"; } [ (imgWith { src = avatar; }) ]) + (div { class = "col"; } (dl [ + (dt "${icon "las la-at"} e-mail") + (dd (for email (email: "${mailto email.address} (${email.name}) ${br}"))) + (dt "${icon "las la-key"} keys") + (dd (for keys.pgp (name: path: href path name))) + (dt "${icon "las la-map-marker"} address") + (dd (with location; '' + ${number} ${street}${br} + ${postalCode} ${city} + '')) + ])) + ]) + description + ]; +} -- cgit v1.2.3