Small shortcode cleanuo & use .IsNamedParams

This commit is contained in:
bbaovanc committed 2022-05-13 14:34:42 -05:00
1 parent e9266cdead
commit 8e3fb4038a
5 files changed
+14 -5

No files matched your search

+5 -1
View File
@@ -1 +1,5 @@
<abbr title="{{ .Get "title" }}">{{ .Inner }}</abbr>
{{ if .IsNamedParams }}
<abbr title="{{ .Get "title" }}">{{ .Inner }}</abbr>
{{ else }}
<abbr title="{{ .Get 0 }}">{{ .Inner }}</abbr>
{{ end }}