From 510865b147e30bb8a59ded36c4da1fff8b716dd6 Mon Sep 17 00:00:00 2001
From: Bill Stumbo
Date: Mon, 10 Nov 2025 08:09:49 -0500
Subject: [PATCH 1/2] First pass at replacing URLs with a button.
---
layouts/bibliography/single.html | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/layouts/bibliography/single.html b/layouts/bibliography/single.html
index fed28338..75b894a8 100644
--- a/layouts/bibliography/single.html
+++ b/layouts/bibliography/single.html
@@ -45,14 +45,6 @@
{{ .Title }}
{{ end -}}
-
- View document: {{ with .Params.url_source }}
- {{ . }}
- {{ else }}
- No URL to the document is available.
- {{ end }}
-
-
Abstract
@@ -209,9 +201,20 @@
{{ .Title }}
{{ end }}
- {{- if .Params.zotero_url }}
- View on Zotero
- {{- end -}}
+ {{- if .Params.url_source -}}
+ View
+ {{ else }}
+ No URL to the document is available.
+ {{ end }}
+
+
+ {{- if .Params.zotero_url -}}
+ Zotero Record
+ {{- end -}}
From 4b05d2a1ab4dfca89437a26e9dba983ad99598d3 Mon Sep 17 00:00:00 2001
From: Bill Stumbo
Date: Tue, 11 Nov 2025 23:43:43 -0500
Subject: [PATCH 2/2] Cleanup from merging main to pull in citation work.
---
layouts/bibliography/single.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/bibliography/single.html b/layouts/bibliography/single.html
index 2747dd5c..86d26039 100644
--- a/layouts/bibliography/single.html
+++ b/layouts/bibliography/single.html
@@ -206,7 +206,7 @@
{{ .Title }}
{{- if .Params.zotero_url -}}
View on Zotero
+ target="_blank" rel="noopener noreferrer">Zotero Record
{{- end -}}
{{- /* Build Zotero API params (group id + item key + style) */ -}}
{{- $gid := site.Params.zotero_group_id -}}