summaryrefslogtreecommitdiff
path: root/src/sections.nix
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2025-12-31 12:23:03 +0100
committeraristote <quentin.aristote@irif.fr>2025-12-31 12:23:03 +0100
commitf4c78d6dd3b05d4adeeb0cb7a0d6fd4a0bd07cdf (patch)
tree8a7b8dde8e4c4a311c0fd2acdfb109947bdb6f98 /src/sections.nix
parent369b1406b44e7905b2f49b37621dbad1d0787cac (diff)
sections: remove priority system
Diffstat (limited to 'src/sections.nix')
-rw-r--r--src/sections.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/sections.nix b/src/sections.nix
index fc749d7..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 { });
@@ -17,5 +17,13 @@ builtins.map makeSection [
./research
./service
./languages
- ./bibliography
+]
+++ [
+ {
+ extraHeader = "";
+ content = ''
+ \newpage
+ '';
+ }
+ (makeSection ./bibliography)
]