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:
authorRCJacH <RCJacH@outlook.com>2019-08-10 15:22:30 +0300
committerRCJacH <RCJacH@outlook.com>2019-08-10 15:22:30 +0300
commit061855fbacbee44caf03601c4dbf07f137809456 (patch)
treed7271db7d4f0915f6a694370783fa3cb681e8a39
parent4f41551dfada7b8965962e55f106eb8aaffcc14c (diff)
+ add change header size in flexblock
-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>