From baea04747697ad5039139ef44bca7b3965147696 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Mon, 21 Aug 2023 17:50:43 +0200 Subject: update info api --- html/publications/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html/publications/default.nix') diff --git a/html/publications/default.nix b/html/publications/default.nix index 1a2688b..289f9e3 100644 --- a/html/publications/default.nix +++ b/html/publications/default.nix @@ -15,7 +15,8 @@ let { inherit id title url year abstract cite; } // (let - authorsOther = lib.remove data.basics.name + authorsOther = + lib.remove "${data.basics.name.first} ${data.basics.name.last}" (builtins.map (author: "${author.given} ${author.family}") author); in lib.optionalAttrs (authorsOther != [ ]) { authors = "With ${lib.concatStringsSep ", " authorsOther}"; -- cgit v1.2.3