diff --git a/layouts/shortcodes/expand.html b/layouts/shortcodes/expand.html index 2fb9ba46e0..ea52cbae14 100644 --- a/layouts/shortcodes/expand.html +++ b/layouts/shortcodes/expand.html @@ -3,11 +3,7 @@ {{$expandMessage := T "Expand-title"}} - {{ if .IsNamedParams }} - {{.Get "default" | default $expandMessage}} - {{else}} {{.Get 0 | default $expandMessage}} - {{end}}