summaryrefslogtreecommitdiff
path: root/html/sections.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2023-09-30 21:25:03 +0200
committerquentin@aristote.fr <quentin@aristote.fr>2023-09-30 21:25:03 +0200
commit1036c49e9e3c3ff311a713cccf0054c8c16a9857 (patch)
tree8a9495eb0181cef35f690879267120bc3de3defe /html/sections.nix
parentadd6bcd3c1984068e7122fa07a8f3e35ebaf58a9 (diff)
format
Diffstat (limited to 'html/sections.nix')
-rw-r--r--html/sections.nix29
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
+ ]