From cb77c217e145ba8e9d54cbdc765d31868e205499 Mon Sep 17 00:00:00 2001
From: Simon Hollingshead <me@simonhollingshead.com>
Date: Thu, 06 Apr 2023 15:03:30 +0000
Subject: [PATCH] Only include the generator tag on the homepage. (#792)
---
layouts/partials/head.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9a9cc31..6637bd6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -14,6 +14,6 @@
{{ partial "head/alternative-output-formats.html" . }}
-{{ partialCached "head/hugo-generator.html" . }}
+{{ if .IsHome }}{{ partial "head/hugo-generator.html" . }}{{ end }}
{{ partial "head/extensions.html" . }}
--
Gitblit v1.10.0