From 57702fe09a63ac1d5252dfd2edf42d0b7db8ffb0 Mon Sep 17 00:00:00 2001 From: aristote Date: Wed, 4 Feb 2026 14:58:59 +0100 Subject: research: writings: allow no url --- html/research/writings.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'html') diff --git a/html/research/writings.nix b/html/research/writings.nix index dd0876c..727cf11 100644 --- a/html/research/writings.nix +++ b/html/research/writings.nix @@ -67,7 +67,9 @@ let in with formatted; lines [ - (dt { id = "Writings#${id}"; } "${href { target = "_blank"; } url (em title)} (${year})") + (dt { + id = "Writings#${id}"; + } "${(if url != null then href { target = "_blank"; } url else x: x) (em title)} (${year})") (dd [ (concatStringsSuffix ". " (attrValsOpt [ "authors" "note" "published" "doi" ] formatted)) (details [ -- cgit v1.2.3