summaryrefslogtreecommitdiff
path: root/src/sections.nix
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2025-12-31 12:56:08 +0100
committeraristote <quentin.aristote@irif.fr>2025-12-31 12:56:08 +0100
commitc8e75c6579a499280085457a10dc1ef15ef8a6b8 (patch)
tree21af1bccb66095b2b13140da41c2a4e0a96f9094 /src/sections.nix
parent84545ccfb25ecae35eaf89ff8d00feef469e869a (diff)
parentc9d07024266f13fcb91a1923c81e43bca240f773 (diff)
Merge branch 'pocococop'
Diffstat (limited to 'src/sections.nix')
-rw-r--r--src/sections.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/sections.nix b/src/sections.nix
index 1c5fbd4..aa2c527 100644
--- a/src/sections.nix
+++ b/src/sections.nix
@@ -5,8 +5,8 @@
}:
let
sectionTemplate = section: {
- inherit (section) title priority;
- extraHeader = if section ? extraHeader then section.extraHeader else "";
+ inherit (section) title;
+ extraHeader = section.extraHeader or "";
content = latex.section section.title section.content;
};
makeSection = path: sectionTemplate (make path { });
@@ -14,7 +14,16 @@ in
builtins.map makeSection [
./experience
./education
+ ./research
./service
./languages
- ./research
+]
+++ [
+ {
+ extraHeader = "";
+ content = ''
+ \newpage
+ '';
+ }
+ (makeSection ./bibliography)
]