From 53234f48d562f60ba562a9789686867395982444 Mon Sep 17 00:00:00 2001 From: aristote Date: Fri, 19 Dec 2025 12:35:02 +0100 Subject: research: add non-dropping particles in author names --- html/research/writings.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'html/research') diff --git a/html/research/writings.nix b/html/research/writings.nix index c226396..dd0876c 100644 --- a/html/research/writings.nix +++ b/html/research/writings.nix @@ -28,7 +28,13 @@ let // ( let authorsOther = lib.remove "${data.basics.name.first} ${data.basics.name.last}" ( - builtins.map (author: "${author.given} ${author.family}") author + builtins.map ( + author: + with author; + lib.concatStringsSep " " ( + [ given ] ++ lib.optional (author ? non-dropping-particle) non-dropping-particle ++ [ family ] + ) + ) author ); in lib.optionalAttrs (authorsOther != [ ]) { -- cgit v1.2.3