From de046690c01cf90c906ee74b8180d10f17757fb7 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 31 Jan 2023 21:30:40 -0700 Subject: only add go meta import tag if go.mod exists in repo root This is a multipart message in MIME format. Pretty self-explanitory :3 Signed-off-by: Derek Stevens --- templates/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/head.html b/templates/head.html index ea910dc..53487eb 100644 --- a/templates/head.html +++ b/templates/head.html @@ -5,7 +5,7 @@ - {{ if .servername }} + {{ if and .servername .gomod }} {{ end }} -- cgit