diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-11 18:38:28 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-11 18:38:28 +0100 |
| commit | 056ee77ab2ed3cf488ac9b1b8ac82664948a42a3 (patch) | |
| tree | 54c202aae529c00b86e413aee66bc77f332f2d17 /content/default.nix | |
initial ocommit
Diffstat (limited to 'content/default.nix')
| -rw-r--r-- | content/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
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 +] |
