Browse Source

fix spacing in biblio entries

master
Sean Dockray 4 years ago
parent
commit
c202ca7902
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      themes/sandpoints/layouts/_default/_markup/render-image.html

+ 1
- 1
themes/sandpoints/layouts/_default/_markup/render-image.html View File

@@ -11,7 +11,7 @@
{{- if index $.Page.Site.Data.books.catalog $destination -}}
{{- $b := index $.Page.Site.Data.books.catalog $destination -}}
{{- if not $text_link -}}
<span>{{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}.<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank"><span class="sup">bib⁄</span><i>‘{{- $b.title -}}’</i></a>. {{- with $b.publisher -}}{{- . -}}.{{- end -}}</span>
<span>{{- delimit $b.authors ", " " & " -}},&ensp;<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank"><span class="sup">bib⁄</span><i>‘{{- $b.title -}}’</i></a>{{- with $b.publisher -}}.&ensp;{{- . -}}.{{- end -}}</span>{{- with $b.pubdate -}}&ensp;({{- substr . 0 4}}){{- end -}}
{{- else -}}
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank">{{- $text_link -}}</a>
{{- end -}}


Loading…
Cancel
Save