Skip to content

Commit 8dba241

Browse files
committed
Update bibliography entry to link to Zotero
The Read Me link now points to the Zotero entry for each item.
1 parent 7ff6032 commit 8dba241

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

layouts/bibliography/list.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@
7676
{{ $authors }}<br>
7777
{{- end -}}
7878
{{- end -}}
79-
<a href="{{ .RelPermalink }}">Read more</a>
79+
80+
{{- $zotero_url := .Params.zotero_url -}}
81+
82+
{{- if $zotero_url -}}
83+
<a href="{{ $zotero_url }}">Read More</a>
84+
{{- end -}}
8085
<br><br>
8186
</li>
8287
{{ end }}

scripts/bibSplit.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,12 @@ BEGIN
5757
abstract_short:
5858
tags:
5959
url_source:
60+
zotero_url: "https://www.zotero.org/groups/2914042/items/$key"
6061
---
6162
63+
64+
[Read More]({{< param "zotero_url" >}})
65+
6266
{{< bibItem key="$key" >}}
6367
ENDITEM
6468
close $handle || die "$0: close of file $itemmd failed: $!";

scripts/update_bibliography.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)