From 6501ca28614a17209a9914c1eb353aa9cc0c0aed Mon Sep 17 00:00:00 2001 From: milinddethe15 Date: Wed, 21 Aug 2024 19:27:10 +0530 Subject: [PATCH] add conditional noindex meta tag for preliminary and archive Signed-off-by: milinddethe15 --- layouts/_default/baseof.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 083a1fa95400d..1a71c27a2378a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -124,6 +124,13 @@ + + + {{ if .Site.Data.args.preliminary }} + + {{ else if .Site.Data.args.archive }} + + {{ end }} {{ $site_mode := ""}}