From 4834058bfea02f133a87aa48dd7f5c60e6af0858 Mon Sep 17 00:00:00 2001 From: George Date: Thu, 5 Mar 2020 20:21:48 +0000 Subject: [PATCH] fix: remove space after author names in MLA citation list (#1536) This commit removes the space after the author names and before the period when using the MLA citation style. --- layouts/partials/li_citation.html | 4 ++-- layouts/partials/page_metadata_authors.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/li_citation.html b/layouts/partials/li_citation.html index 201b7088..fc86e554 100644 --- a/layouts/partials/li_citation.html +++ b/layouts/partials/li_citation.html @@ -20,8 +20,8 @@ {{ else }} - {{ partial "page_metadata_authors" . }} - . + {{ partial "page_metadata_authors" . }}. + {{ .Title }}. {{ if .Params.publication_short }} {{- .Params.publication_short | markdownify -}}, diff --git a/layouts/partials/page_metadata_authors.html b/layouts/partials/page_metadata_authors.html index d9e8d537..2b40aa22 100644 --- a/layouts/partials/page_metadata_authors.html +++ b/layouts/partials/page_metadata_authors.html @@ -1,6 +1,6 @@ {{/* Display author list. */}} -{{ $taxonomy := "authors" }} +{{- $taxonomy := "authors" }} {{ with .Param $taxonomy }} {{ $link_authors := site.Params.link_authors | default true }} {{ range $index, $value := . }} @@ -15,4 +15,4 @@ {{- end -}} {{- end -}} -{{ end }} +{{- end -}}