From 86b0d0c422e34c38837b5b5495ad6d295d0e73d2 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 1 Sep 2025 11:27:12 -0700 Subject: Squashed 'themes/PaperMod/' content from commit 5a46517 git-subtree-dir: themes/PaperMod git-subtree-split: 5a4651783fa9159123d947bd3511b355146d4797 --- layouts/shortcodes/rtl.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 layouts/shortcodes/rtl.html (limited to 'layouts/shortcodes/rtl.html') diff --git a/layouts/shortcodes/rtl.html b/layouts/shortcodes/rtl.html new file mode 100644 index 0000000..a69b8ce --- /dev/null +++ b/layouts/shortcodes/rtl.html @@ -0,0 +1,15 @@ +{{ $.Scratch.Set "md" false }} + +{{ if .IsNamedParams }} +{{ $.Scratch.Set "md" (.Get "md") }} +{{ else }} +{{ $.Scratch.Set "md" (.Get 0) }} +{{ end }} + +
+ {{ if eq ($.Scratch.Get "md") false }} + {{ .Inner }} + {{ else }} + {{ .Inner | markdownify }} + {{ end }} +
-- cgit v1.3.1