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

github.com/RCJacH/hugo-webslides.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/shortcodes/flexblock.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/flexblock.html b/layouts/shortcodes/flexblock.html
index 65225f6..68be566 100644
--- a/layouts/shortcodes/flexblock.html
+++ b/layouts/shortcodes/flexblock.html
@@ -1,6 +1,6 @@
<div>
- <h2>
+ <h{{- with .Get 1 -}}{{.}}{{else}}2{{end}}>
{{ .Get 0 | safeHTML }}
- </h2>
+ </h{{- with .Get 1 -}}{{.}}{{else}}2{{end}}>
{{ .Inner | safeHTML }}
</div>