From 46857514efcb62c83272c492c101953ffe88c166 Mon Sep 17 00:00:00 2001 From: Nina Zakharenko Date: Sun, 9 Aug 2020 16:49:49 -0700 Subject: [PATCH] Make the expand section more obvious, indent the content --- layouts/shortcodes/expand.html | 8 +++++--- static/css/theme.css | 6 ++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/expand.html b/layouts/shortcodes/expand.html index 0e7ddb18679..744954c9302 100644 --- a/layouts/shortcodes/expand.html +++ b/layouts/shortcodes/expand.html @@ -1,14 +1,16 @@ {{ $_hugo_config := `{ "version": 1 }` }}
-
- +
+ + {{$expandMessage := T "Expand-title"}} {{ if .IsNamedParams }} {{.Get "default" | default $expandMessage}} {{else}} {{.Get 0 | default $expandMessage}} - {{end}} + {{end}} +