diff options
author | uPagge <git@upagge.ru> | 2021-03-30 21:56:39 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-03-30 21:56:39 +0300 |
commit | 702203b28abd84b1885a3b35e5ffd61f591a7740 (patch) | |
tree | 47362c992871e828e6cbfae3cacf12bdfdfa632f /layouts | |
parent | ac7d24045de07c7152e945e64d45601c644e6a2b (diff) |
fix css
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/split-post.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/split-post.html b/layouts/shortcodes/split-post.html index 7bc3182..1512742 100644 --- a/layouts/shortcodes/split-post.html +++ b/layouts/shortcodes/split-post.html @@ -1,3 +1,4 @@ -<div class="split-post single"> +{{ $class := cond $.IsNamedParams ($.Get "class") "" }} +<div class="split-post single {{ with $class }}{{ . }}{{ end }}"> {{ .Inner }} </div>
\ No newline at end of file |