From 9c4cb13dae6e6da2a1c191666912439eca2bd68b Mon Sep 17 00:00:00 2001 From: Ray Zhou Date: Mon, 15 Jul 2024 15:39:25 -0600 Subject: [PATCH] add meta tag for docsearch Signed-off-by: Ray Zhou --- layouts/partials/head.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 554bc358b..9ff5736d7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,6 +16,8 @@ +{{ define "recursiveVersion" }}{{ if isset . "version" }}{{ .Version }}{{ else if .Params.section1.version }}{{ .Params.section1.version }}{{ else if .Parent }}{{ template "recursiveVersion" .Parent }}{{ else }}{{ end }}{{ end }} +