diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 293b407428..e69de29bb2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,83 +0,0 @@ -{{ if and (ne .Section "docs") (ne .Section "documents") (not .Params.no_donate_footer) }} - -{{ end }} - -{{ if ne .Section "documents" }} - -{{ end }}{{/* if ne .Section "documents" */}} - -{{ $js := resources.Get "js/main.js" | fingerprint "sha512" }} - diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1e2d802e94..34e1e29c30 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,28 +3,5 @@ {{ if ne .Title .Site.Title }}{{ .Title }} - {{ end }} {{ .Site.Title }} - - - - - - - - - - {{ $style := resources.Get "css/main.scss" | resources.ToCSS | minify | fingerprint "sha512" }} - - - - {{ if .Params.canonicalUrl }} - - {{ else }} - - {{ end }} - {{ with .Site.Home.OutputFormats.Get "RSS" -}} - - {{ end }} - {{ if .Page.Params.do_not_index }} - {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ca4b90c62d..6cc56a01af 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,60 +1,8 @@ -{{ if ne .Section "documents" }} - -
- {{ i18n "site_banner_text" }} -
-
-{{ end }}{{/* if ne .Section "documents" */}} + + + + \ No newline at end of file diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index d206b48ce5..3cb6d97913 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -1,6 +1,6 @@ {{ if ne .Section "documents" }} {{ $bgImage := printf "images/%d.jpg" (.Param "top_graphic") | relURL }} -
+

{{ .Title }}

diff --git a/netlify.toml b/netlify.toml index 60b0ab30dd..337b82109f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -39,6 +39,7 @@ Permissions-Policy = """ Content-Security-Policy = """ default-src 'none'; font-src 'self'; + frame-ancestors 'self' https://isrg.formstack.com; style-src 'unsafe-inline' 'self'; script-src 'unsafe-eval' 'unsafe-inline' 'self' data: https://www.google-analytics.com