summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/research/writings.nix4
1 files changed, 3 insertions, 1 deletions
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 [