summaryrefslogtreecommitdiff
path: root/src/sections.nix
diff options
context:
space:
mode:
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)
]