diff --git a/assets/css/site.css b/assets/css/site.css index a482afd..a78fd97 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -592,6 +592,7 @@ img { .hasauthors { font-size: 1.6rem !important; + display: flex; } .hassup { diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 34ffe60..26e7a28 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -18,11 +18,11 @@ {{ .Page.Scratch.Add "bibs" (slice (slice $bibhref $bibtitle)) }} {{- if not $text_link -}} {{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}.bib⁄‘{{- $b.title -}}’. {{- with $b.publisher -}}{{- . -}}.{{- end -}} - {{- else -}} - bib⁄{{- $text_link -}} + {{- else -}} + bib⁄{{- $text_link -}} {{- end -}} {{- else -}} - {{- $text_link -}}⦚bib:{{- $destination -}} not found + {{- $text_link -}}⦚bib:{{- $destination -}} not found {{- end -}} {{- else if in ($_.Get "triads") (index (split .Destination ":") 0) -}} {{- if $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}}