From c1042b4bda477cb9377efbed66845f164c67e257 Mon Sep 17 00:00:00 2001 From: aristote Date: Tue, 9 Dec 2025 17:03:42 +0100 Subject: add academic service --- src/sections.nix | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'src/sections.nix') 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 +] -- cgit v1.2.3