diff --git a/layouts/bibliography/single.html b/layouts/bibliography/single.html index 8aa6efcd..86d26039 100644 --- a/layouts/bibliography/single.html +++ b/layouts/bibliography/single.html @@ -46,15 +46,7 @@

{{ .Title }}

{{- end -}}

- View document: {{ with .Params.url_source }} - {{ . }} - {{- else -}} - No URL to the document is available. - {{- end -}} -
-

-

- Abstract: + Abstract
{{- with .Params.abstract -}} {{- . | htmlEscape | markdownify -}} @@ -201,11 +193,20 @@

{{ .Title }}

{{ end }} {{- end -}}

+

+ {{- if .Params.url_source -}} + View + {{ else }} + No URL to the document is available. + {{ end }} +

{{- 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 -}} @@ -267,7 +268,7 @@

{{ .Title }}

} .citation-header { display:flex; justify-content:space-between; align-items:center; padding:.75rem 1rem; border-bottom:1px solid #eee; } .citation-dismiss{ background:none; border:0; font-size:1.25rem; line-height:1; cursor:pointer; } - .citation-close + .citation-close .citation-tabs { display:flex; gap:.25rem; padding:.5rem 1rem; border-bottom:1px solid #eee; } .tab-btn { border: 1px solid #ddd; background:#f8f9fa; border-radius:4px; padding:.35rem .6rem; cursor:pointer;