From 964968be39f7d70c12c41eb77c51e94e1c2ccd6a Mon Sep 17 00:00:00 2001 From: Paul Twohey Date: Sat, 31 Aug 2019 18:38:16 -0700 Subject: use class="hidden" instead of creating new classes Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';" --- layouts/shortcodes/expand.html | 2 +- layouts/shortcodes/tabs.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/expand.html b/layouts/shortcodes/expand.html index d6b7522..4519767 100644 --- a/layouts/shortcodes/expand.html +++ b/layouts/shortcodes/expand.html @@ -4,7 +4,7 @@ {{ default "Expand" (.Get 0) }} {{ default "↕" (.Get 1) }} - +
{{ .Inner | markdownify }}
diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html index c49b141..9431af5 100644 --- a/layouts/shortcodes/tabs.html +++ b/layouts/shortcodes/tabs.html @@ -4,7 +4,7 @@
{{ range $index, $tab := .Scratch.Get $group }} - + -- cgit v1.2.3