From bc1de84fc585f3915961de15980e2943c558cd57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 16 Jul 2021 23:14:07 +0200 Subject: [PATCH] expand: remove undocumented named parameter --- layouts/shortcodes/expand.html | 4 ---- 1 file changed, 4 deletions(-) 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}}