diff options
Diffstat (limited to 'html/sections.nix')
| -rw-r--r-- | html/sections.nix | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/html/sections.nix b/html/sections.nix index 4c4f0b0..3c4065f 100644 --- a/html/sections.nix +++ b/html/sections.nix @@ -1,19 +1,22 @@ -{ html, make, ... }: - -let +{ + html, + make, + ... +}: let sectionTemplate = section: { inherit (section) title priority; - body = html.section { id = section.title; } [ + body = html.section {id = section.title;} [ (html.h1 section.title) section.body ]; }; - makeSection = path: sectionTemplate (make path { }); -in builtins.map makeSection [ - ./basics - ./education - ./experience - # ./languages - ./publications - ./software -] + makeSection = path: sectionTemplate (make path {}); +in + builtins.map makeSection [ + ./basics + ./education + ./experience + # ./languages + ./publications + ./software + ] |
