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:
authoruPagge <git@upagge.ru>2021-03-30 21:56:39 +0300
committeruPagge <git@upagge.ru>2021-03-30 21:56:39 +0300
commit702203b28abd84b1885a3b35e5ffd61f591a7740 (patch)
tree47362c992871e828e6cbfae3cacf12bdfdfa632f /layouts
parentac7d24045de07c7152e945e64d45601c644e6a2b (diff)
fix css
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/split-post.html3
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