From 2adad06454ddbf750ae8a7be6e13996ceca81474 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 21 Mar 2023 11:09:35 -0400 Subject: [PATCH] remove unnecessary links from footer ; add missing top/page_menu anchors on some templates --- themes/hugo-xmin/layouts/_default/list.html | 2 ++ themes/hugo-xmin/layouts/_default/search.html | 3 ++- themes/hugo-xmin/layouts/_default/terms.html | 3 ++- themes/hugo-xmin/layouts/partials/footer.html | 15 --------------- 4 files changed, 6 insertions(+), 17 deletions(-) diff --git a/themes/hugo-xmin/layouts/_default/list.html b/themes/hugo-xmin/layouts/_default/list.html index 0978b54..f3b5a56 100644 --- a/themes/hugo-xmin/layouts/_default/list.html +++ b/themes/hugo-xmin/layouts/_default/list.html @@ -1,6 +1,8 @@ {{ partial "header.html" . }} {{ if not .Params.isBranchWithContent }} + + {{if not .IsHome }}

{{ .Title | markdownify }}

{{ end }} diff --git a/themes/hugo-xmin/layouts/_default/search.html b/themes/hugo-xmin/layouts/_default/search.html index deb32ec..d7e7c22 100644 --- a/themes/hugo-xmin/layouts/_default/search.html +++ b/themes/hugo-xmin/layouts/_default/search.html @@ -1,5 +1,6 @@ {{ partial "header.html" . }} - +
+
diff --git a/themes/hugo-xmin/layouts/_default/terms.html b/themes/hugo-xmin/layouts/_default/terms.html index 71f47e7..f02920c 100644 --- a/themes/hugo-xmin/layouts/_default/terms.html +++ b/themes/hugo-xmin/layouts/_default/terms.html @@ -1,7 +1,8 @@ {{ partial "header.html" . }}

{{ .Title }}

- +
+