blob: c1f04b827f30872436b9797e292b6bdf7f237d78 (
plain)
1
2
3
4
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. */ -}}
|