diff options
Diffstat (limited to 'themes/default/layouts/shortcodes/animate.rss.xml')
-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. */ -}} |