瀏覽代碼

fix spacing in biblio entries

master
Sean Dockray 3 年之前
父節點
當前提交
c202ca7902
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      themes/sandpoints/layouts/_default/_markup/render-image.html

+ 1
- 1
themes/sandpoints/layouts/_default/_markup/render-image.html 查看文件

@@ -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…
取消
儲存