From 0cde2e461d1cca74f45586f410cf194afc5b5d15 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 30 Aug 2021 14:32:11 +0200 Subject: #370: Allow markdown in details shortcode, also change markdownify to RenderString in other shortcodes --- layouts/shortcodes/details.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'layouts/shortcodes/details.html') diff --git a/layouts/shortcodes/details.html b/layouts/shortcodes/details.html index f6fff38..cc867aa 100644 --- a/layouts/shortcodes/details.html +++ b/layouts/shortcodes/details.html @@ -1,6 +1,7 @@
- {{ cond .IsNamedParams (.Get "title") (.Get 0) }} + {{- $summary := cond .IsNamedParams (.Get "title") (.Get 0) -}} + {{ $summary | .Page.RenderString }}
- {{ .Inner | markdownify }} + {{ .Inner | .Page.RenderString }}
-- cgit v1.2.3