summaryrefslogtreecommitdiff
path: root/html/research/writings.nix
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2026-02-04 14:58:59 +0100
committeraristote <quentin.aristote@irif.fr>2026-02-04 14:58:59 +0100
commit57702fe09a63ac1d5252dfd2edf42d0b7db8ffb0 (patch)
tree35e48df728795f57bf6401414d25a32d8fc41ce8 /html/research/writings.nix
parent1ed28ab5e3329f83efdf836ae6de62e6c2e4cca2 (diff)
research: writings: allow no url
Diffstat (limited to 'html/research/writings.nix')
-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 [