From 1e2331b1da5cbf4db5c74d4cf6c6e5386728305d Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 19 Mar 2023 18:12:13 -0400 Subject: themes/default/layouts/shortcodes: Add animate.rss.xml Feed readers may strip style tags --- themes/default/layouts/shortcodes/animate.rss.xml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 themes/default/layouts/shortcodes/animate.rss.xml diff --git a/themes/default/layouts/shortcodes/animate.rss.xml b/themes/default/layouts/shortcodes/animate.rss.xml new file mode 100644 index 0000000..c1f04b8 --- /dev/null +++ b/themes/default/layouts/shortcodes/animate.rss.xml @@ -0,0 +1,5 @@ +{{- $type := default "default" (.Get "type" | default (.Get 0)) -}} +{{- $text := default "animate" (.Get "text" | default (.Get 1)) -}} + +{{ $text }} +{{- /* This comment removes trailing newlines and white spaces. */ -}} -- cgit v1.2.3