From 29fd6b148c60bf8ba9cab2f1018aaab7af2be6c3 Mon Sep 17 00:00:00 2001 From: TetraTheta <37061801+TetraTheta@users.noreply.github.com> Date: Tue, 10 Sep 2024 20:19:52 +0900 Subject: [PATCH] fix: allow specifying id attribute for blockquotes (#247) Co-authored-by: Razon Yang --- layouts/_default/_markup/render-blockquote-regular.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/_default/_markup/render-blockquote-regular.html b/layouts/_default/_markup/render-blockquote-regular.html index 84626fe..2358c83 100644 --- a/layouts/_default/_markup/render-blockquote-regular.html +++ b/layouts/_default/_markup/render-blockquote-regular.html @@ -16,7 +16,9 @@ {{- if or (isset .Attributes "align") (isset .Attributes "caption") }}
-
+
{{ .Text }}
{{- with .Attributes.caption }} @@ -29,7 +31,9 @@ {{- end }}
{{- else }} -
+
{{ .Text }}
{{- end }}