From 46ebb0547ee540e936629a4205450f41b8fef043 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 13 Jan 2023 15:50:24 -0800 Subject: [PATCH] Move defaults to param var decls --- layouts/shortcodes/paige/quote.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/shortcodes/paige/quote.html b/layouts/shortcodes/paige/quote.html index afde21c0..3bf66b0e 100644 --- a/layouts/shortcodes/paige/quote.html +++ b/layouts/shortcodes/paige/quote.html @@ -1,10 +1,8 @@ {{ $align := .Get "align" | default "center" }} -{{ $caption := .Get "caption" }} -{{ $cite := .Get 0 | default (.Get "cite") }} +{{ $caption := .Get "caption" | markdownify }} +{{ $cite := (.Get 0 | default (.Get "cite")) | markdownify }} {{ $float := .Get "float" }} -{{ $caption = $caption | markdownify }} -{{ $cite = $cite | markdownify }} {{ $content := .Inner | markdownify }} {{ $margins := "" }}