summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html/research/writings.nix8
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 != [ ]) {