Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/split-wide.html')
-rw-r--r--layouts/shortcodes/split-wide.html7
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