diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html index e71c49b2..efae3e0c 100644 --- a/layouts/shortcodes/button.html +++ b/layouts/shortcodes/button.html @@ -8,5 +8,5 @@ {{- $ref = relref $ . -}} {{- end -}} - {{ .InnerDeindent }} + {{- .InnerDeindent -}} diff --git a/layouts/shortcodes/i18n.html b/layouts/shortcodes/i18n.html new file mode 100644 index 00000000..b65f70ac --- /dev/null +++ b/layouts/shortcodes/i18n.html @@ -0,0 +1,2 @@ +{{- $content := .Get 0 -}} +{{- default $content (i18n $content) -}} \ No newline at end of file