diff options
author | tdro <tdro@noreply.example.com> | 2023-03-19 18:12:13 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-03-19 18:25:12 -0400 |
commit | 1e2331b1da5cbf4db5c74d4cf6c6e5386728305d (patch) | |
tree | 034d896f845d4bb705fd0f256732d06e79701d27 /themes | |
parent | 6567a5742dfa0a16d99192547fb7478d2db7ace8 (diff) | |
download | canory-1e2331b1da5cbf4db5c74d4cf6c6e5386728305d.tar.gz canory-1e2331b1da5cbf4db5c74d4cf6c6e5386728305d.tar.bz2 canory-1e2331b1da5cbf4db5c74d4cf6c6e5386728305d.zip |
themes/default/layouts/shortcodes: Add animate.rss.xml
Feed readers may strip style tags
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/shortcodes/animate.rss.xml | 5 |
1 files changed, 5 insertions, 0 deletions
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)) -}} + +<a title="{{ $type }} animation" href="{{ .Page.Permalink }}">{{ $text }}</a> +{{- /* This comment removes trailing newlines and white spaces. */ -}} |