diff --git a/layouts/shortcodes/quote.html b/layouts/shortcodes/quote.html index e8f1980..208c961 100644 --- a/layouts/shortcodes/quote.html +++ b/layouts/shortcodes/quote.html @@ -1,14 +1,13 @@

{{ .Inner | markdownify }}

- - - {{ if .Get "author" }} - - {{ .Get "author" }}{{ if .Get "source" }}, {{ end }} - - {{ end }} - {{ with .Get "url" }}{{ end }} - {{ .Get "source" }} - {{ if .Get "url" }}{{ end }} + + {{- if .Get "author" -}} + + {{- .Get "author" -}}{{- if .Get "source" -}}, {{ end -}} + {{- end -}} + {{- with .Get "url" -}}{{- end -}} + {{ .Get "source" }} + {{- if .Get "url" -}}{{- end -}} +