From 4e9b04784bac6bbaabecdffc9fe6e513787b66d9 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 11 Sep 2021 11:09:01 +0530 Subject: [PATCH] Move `noscript` elements to head - Should fix search engines picking up elements inside noscript --- layouts/partials/head.html | 43 +++++++++++++++++++++++++++++++++++- layouts/partials/header.html | 39 -------------------------------- 2 files changed, 42 insertions(+), 40 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 08ad70a5..28abcd95 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -113,7 +113,48 @@ {{ end -}} {{- range .AllTranslations -}} -{{ end }} +{{ end -}} + + + {{- partial "extend_head.html" . -}} {{- /* Misc */}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8750e9b7..f53ab52b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -38,45 +38,6 @@ {{- end }} -