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/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/default.nix (limited to 'content/default.nix') diff --git a/content/default.nix b/content/default.nix new file mode 100644 index 0000000..0b0d0ca --- /dev/null +++ b/content/default.nix @@ -0,0 +1,18 @@ +{ html, make, ... }: + +let + sectionTemplate = section: { + inherit (section) title priority; + body = html.section { id = section.title; } [ + (html.h1 section.title) + section.body + ]; + }; + makeSection = path: sectionTemplate (make path { }); +in builtins.map makeSection [ + ./basics.html.nix + ./education.html.nix + ./experience.html.nix + # ./languages.html.nix + ./publications.html.nix +] -- cgit v1.2.3