summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/publications/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/html/publications/default.nix b/html/publications/default.nix
index 87dfb37..fbcfcee 100644
--- a/html/publications/default.nix
+++ b/html/publications/default.nix
@@ -69,10 +69,12 @@
(dd (blockquote abstract))
(dt "Cite.")
(let
- citeWith = title: attr:
+ citeWith = title: type:
details [
(summary title)
- (pre (code (lib.getAttr attr cite)))
+ (pre (code (
+ lib.readFile "${data.publications.files}/${type}/${id}"
+ )))
];
in
dd [