From 3c9bae7652eb92ea7c7a0da27afebc085f1844fe Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 13 Jul 2022 01:08:02 -0400 Subject: themes/hugo-pt2021/layouts/partials/head.html: add support for go-import --- themes/hugo-pt2021/layouts/partials/head.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'themes/hugo-pt2021') diff --git a/themes/hugo-pt2021/layouts/partials/head.html b/themes/hugo-pt2021/layouts/partials/head.html index 09da4ff..56e7887 100644 --- a/themes/hugo-pt2021/layouts/partials/head.html +++ b/themes/hugo-pt2021/layouts/partials/head.html @@ -1,6 +1,15 @@ + {{/* add go-import meta tag */}} + {{/* ref: https://go.dev/ref/mod#vcs-find */}} + {{- if .Page.Params.go_import -}} + + {{- end -}} + {{/* set responsive viewport */}} -- cgit v1.2.3