diff options
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 +] |
