From 438f011ff52da9f09dfacd83c9693ee9ab07e7f8 Mon Sep 17 00:00:00 2001 From: Paul Twohey Date: Wed, 28 Aug 2019 21:01:36 -0700 Subject: fix menu, docs, and posts to work with strict Content-Security-Policy When the Content-Security-Policy header has "style-src 'self';" inine style elements like style="display: none" are not honored by browsers, so style them display: none --- layouts/docs/baseof.html | 4 ++-- layouts/posts/baseof.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 1592860..f35a6dc 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -7,7 +7,7 @@ - +
- + {{ partial "docs/inject/body" . }} {{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/posts/baseof.html b/layouts/posts/baseof.html index ba4b91c..9821118 100644 --- a/layouts/posts/baseof.html +++ b/layouts/posts/baseof.html @@ -7,7 +7,7 @@ - +