diff options
Diffstat (limited to 'layouts/shortcodes/split-wide.html')
-rw-r--r-- | layouts/shortcodes/split-wide.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/shortcodes/split-wide.html b/layouts/shortcodes/split-wide.html index f12bd01..7e6330d 100644 --- a/layouts/shortcodes/split-wide.html +++ b/layouts/shortcodes/split-wide.html @@ -1 +1,6 @@ -</div></div></div></article><article><div class="article-post"><div class="content-break content-block-position">
\ No newline at end of file +{{- $typeOpen := cond $.IsNamedParams ($.Get "open") "" | default "section" -}} +{{- $typeClose := cond $.IsNamedParams ($.Get "close") "" | default "section" -}} +{{- $typeOpen := (printf `<%s>` $typeOpen) | safeHTML -}} +{{- $typeClose := (printf `</%s>` $typeClose) | safeHTML -}} + +</div></div></div>{{- if ne (.Get `first`) true -}}{{ $typeClose }}{{- end -}}{{ $typeOpen }}<div class="article-post"><div class="content-break content-block-position">
\ No newline at end of file |