bobatheme/layouts/shortcodes/abbr.html

6 lines
153 B
HTML
Raw Permalink Normal View History

{{ if .IsNamedParams }}
<abbr title="{{ .Get "title" }}">{{ .Inner }}</abbr>
{{ else }}
<abbr title="{{ .Get 0 }}">{{ .Inner }}</abbr>
{{ end }}