diff options
| author | aristote <quentin.aristote@irif.fr> | 2025-12-19 12:35:02 +0100 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2025-12-19 12:35:02 +0100 |
| commit | 53234f48d562f60ba562a9789686867395982444 (patch) | |
| tree | 91ea0bedf206a4933d2530bb21c4fd0717fe57b3 | |
| parent | 55cca40db505c9a4a10e3d58e842eadc8a40aa4d (diff) | |
research: add non-dropping particles in author names
| -rw-r--r-- | html/research/writings.nix | 8 |
1 files changed, 7 insertions, 1 deletions
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 != [ ]) { |
