blob: 7e8079bb15d8cb7bb6e32cf1dbaab20a313bcc69 (
plain)
1
2
3
4
5
|
{{- $abbr := default "TL;DR:" (.Get "abbr" | default (.Get 0)) -}}
{{- $title := default "Too long, didn't read" (.Get "title" | default (.Get 1)) -}}
<abbr title="{{ $title }}">{{ $abbr | markdownify }} ({{ $title }})</abbr>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
|