diff options
author | RCJacH <RCJacH@outlook.com> | 2019-08-10 15:22:30 +0300 |
---|---|---|
committer | RCJacH <RCJacH@outlook.com> | 2019-08-10 15:22:30 +0300 |
commit | 061855fbacbee44caf03601c4dbf07f137809456 (patch) | |
tree | d7271db7d4f0915f6a694370783fa3cb681e8a39 | |
parent | 4f41551dfada7b8965962e55f106eb8aaffcc14c (diff) |
+ add change header size in flexblock
-rw-r--r-- | layouts/shortcodes/flexblock.html | 4 |
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> |