Skip to content

Commit 77e3fca

Browse files
committed
Update Society of Biblical Literature Full Note for 6.1.6
SBL Handbook 6.1.6 recommends using DOI instead of URL if possible. This change checks for DOI variable and prefers it over URL if present.
1 parent 4479a5a commit 77e3fca

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

society-of-biblical-literature-fullnote-bibliography.csl

+16-2
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,14 @@
990990
<text macro="archive-note"/>
991991
</else-if>
992992
</choose>
993-
<text variable="URL"/>
993+
<choose>
994+
<if variable="DOI">
995+
<text variable="DOI" prefix="https://doi.org/"/>
996+
</if>
997+
<else>
998+
<text variable="URL"/>
999+
</else>
1000+
</choose>
9941001
</group>
9951002
</macro>
9961003
<macro name="access">
@@ -1003,7 +1010,14 @@
10031010
<text macro="archive"/>
10041011
</else-if>
10051012
</choose>
1006-
<text variable="URL"/>
1013+
<choose>
1014+
<if variable="DOI">
1015+
<text variable="DOI" prefix="https://doi.org/"/>
1016+
</if>
1017+
<else>
1018+
<text variable="URL"/>
1019+
</else>
1020+
</choose>
10071021
</group>
10081022
</macro>
10091023
<macro name="unsigned-dictionary-note">

0 commit comments

Comments
 (0)