From 1036c49e9e3c3ff311a713cccf0054c8c16a9857 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 30 Sep 2023 21:25:03 +0200 Subject: format --- html/sections.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'html/sections.nix') 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 + ] -- cgit v1.2.3