summaryrefslogtreecommitdiff
path: root/src/sections.nix
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2025-12-09 17:03:42 +0100
committeraristote <quentin.aristote@irif.fr>2025-12-09 17:03:42 +0100
commitc1042b4bda477cb9377efbed66845f164c67e257 (patch)
tree207cd7b941cc33dc52142e4a96c861a526114103 /src/sections.nix
parent23e38bd003fe3c9853c3515858d8ae3f69c2a9a9 (diff)
add academic service
Diffstat (limited to 'src/sections.nix')
-rw-r--r--src/sections.nix23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/sections.nix b/src/sections.nix
index af01252..1c5fbd4 100644
--- a/src/sections.nix
+++ b/src/sections.nix
@@ -2,20 +2,19 @@
latex,
make,
...
-}: let
+}:
+let
sectionTemplate = section: {
inherit (section) title priority;
- extraHeader =
- if section ? extraHeader
- then section.extraHeader
- else "";
+ extraHeader = if section ? extraHeader then section.extraHeader else "";
content = latex.section section.title section.content;
};
- makeSection = path: sectionTemplate (make path {});
+ makeSection = path: sectionTemplate (make path { });
in
- builtins.map makeSection [
- ./experience
- ./education
- ./languages
- ./research
- ]
+builtins.map makeSection [
+ ./experience
+ ./education
+ ./service
+ ./languages
+ ./research
+]