From a820c25fe6acbbbc665546877ee9b1b38eec2130 Mon Sep 17 00:00:00 2001 From: Simon Guest Date: Sun, 21 Nov 2021 15:01:18 +1300 Subject: [PATCH] Allow for quote with neither author nor source --- layouts/shortcodes/quote.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/shortcodes/quote.html b/layouts/shortcodes/quote.html index 208c961..80b5fbd 100644 --- a/layouts/shortcodes/quote.html +++ b/layouts/shortcodes/quote.html @@ -1,5 +1,6 @@

{{ .Inner | markdownify }}

+ {{- if or (.Get "author") (.Get "source") -}} {{- if .Get "author" -}} @@ -10,4 +11,5 @@ {{ .Get "source" }} {{- if .Get "url" -}}{{- end -}} + {{- end -}}