From bfe96388a998c1b42fb2b2a670436184d7d1440b Mon Sep 17 00:00:00 2001 From: Christian Nunciato Date: Tue, 25 Jun 2019 16:43:25 -0700 Subject: [PATCH 1/2] Prevent anchors on the home page Signed-off-by: Christian Nunciato --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 82db9b003b7b..d25e2923ccdc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -80,7 +80,7 @@ - {{ if in "docs blog authors tags" .Section }} + {{ if and (not .IsHome) (in "docs blog authors tags" .Section) }}