From 201018261c28f7441e222524ad7300cc67e832d4 Mon Sep 17 00:00:00 2001 From: Aniket Teredesai Date: Sat, 18 Feb 2023 17:07:58 +0530 Subject: [PATCH] add noindex,nofollow on hiddenPage --- 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 35257fc..0937283 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ -{{- if hugo.IsProduction | or (eq site.Params.env "production") | and (ne .Params.robotsNoIndex true) }} +{{- if hugo.IsProduction | or (eq site.Params.env "production") | and (ne .Params.robotsNoIndex true) (ne .Params.hiddenPage true) }} {{- else }}