@ -1,4 +1,4 @@
{{ $content := .Inner | replaceRE "^\n" "" }}
{{ $content := .InnerDeindent | replaceRE "^\n" "" }}
{{ $lang := .Get 0 | default (.Get "lang") | default "plaintext" }}
{{ $options := .Get "options" }}
@ -1,5 +1,5 @@
{{ $address := .Get 0 | default (.Get "address") }}
{{ $content := .Inner | markdownify }}
{{ $content := .InnerDeindent | markdownify }}
{{ if not $address }}
{{ errorf "layouts/shortcodes/paige/email.html: no address" }}
{{ $caption := .Get 0 | default (.Get "caption") | markdownify }}
{{ $float := .Get "float" }}
{{ $horizontal := .Get "horizontal" | default "center" }}
{{ $maxwidth := .Get "maxwidth" }}
@ -16,7 +16,7 @@
{{ $type := .Get "type" | default "rows" }}
{{ $width := .Get "width" }}
{{ $inner := chomp .Inner }}
{{ $inner := chomp .InnerDeindent }}
{{ $resources := slice }}
{{ if and (not $images) (not $inner) }}
{{ $cite := .Get 0 | default (.Get "cite") }}
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ $content := .InnerDeindent | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ if not $content }}
{{ errorf "layouts/shortcodes/paige/quote.html: no content" }}
{{ $content := chomp .Inner }}
{{ $content := chomp .InnerDeindent }}
{{ if not (.Page.Scratch.Get "paige-tabs") }}
{{ .Page.Scratch.Set "paige-tabs" 0 }}
{{ $content := chomp .Inner | markdownify }}
{{ $content := chomp .InnerDeindent | markdownify }}
{{ $tabcount := .Page.Scratch.Get "paige-tabs" | default 0 }}
{{ .Page.Scratch.Set "paige-tabs-button" 0 }}
{{ .Page.Scratch.Set "paige-tabs-pane" 0 }}