From af3f5ba54e4c044316d6cceb1564abc318aa80c0 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 16 Feb 2025 21:53:19 +0100 Subject: publications: move export inside package --- html/publications/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'html') 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 [ -- cgit v1.2.3