blob: ad804243a635ecd10d5c2ed4fa84d3d402623811 (
plain)
1
2
3
4
|
{{- $text := default "This is a spoiler." (.Get "text" | default (.Get 0)) -}}
{{- $title := default "Click to show/hide text." (.Get "title" | default (.Get 1)) -}}
<s title="{{ $title }}">{{ $text | markdownify }}</s>
|