From 985eacea7ee286e227197515b37758a21177db0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 7 Mar 2022 17:22:20 +0100 Subject: [PATCH] theme: some restructuring --- layouts/partials/footer.html | 6 ------ layouts/partials/logo.html | 2 +- layouts/partials/menu.html | 7 ------- layouts/partials/stylesheet.html | 16 ++++++++++++++-- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5b2a77c0c3..a8d4568ce3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -33,12 +33,6 @@ } {{- end }} - {{- partial "custom-footer.html" . }} diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index a7056828cf..080da0074e 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -39,7 +39,7 @@ } } @media all and (-ms-high-contrast:none) { - /* IE11s understanding of positioning is weird at best */ + {{ "/* IE11s understanding of positioning is weird at best */" | safeCSS }} a#logo { margin-top: -58px; } diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index cfbc6cc9ee..7b98c57f59 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -1,11 +1,4 @@ - {{ "" | safeHTML }} - {{ "" | safeHTML }} - {{- $showvisitedlinks := .Site.Params.showVisitedLinks }}