From 4087bfd218896bcf70d2bafe34ccea6df847645e Mon Sep 17 00:00:00 2001 From: immanuwell Date: Sat, 6 Jun 2026 22:18:13 +0400 Subject: [PATCH] fix: restore Hugo build compatibility Signed-off-by: immanuwell --- themes/coredns/layouts/_default/baseof.html | 2 +- themes/coredns/layouts/blog/single.html | 6 +----- themes/coredns/layouts/community/list.html | 6 +----- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/themes/coredns/layouts/_default/baseof.html b/themes/coredns/layouts/_default/baseof.html index fe73cf94..911d4b2a 100644 --- a/themes/coredns/layouts/_default/baseof.html +++ b/themes/coredns/layouts/_default/baseof.html @@ -24,7 +24,7 @@ {{ if .IsHome }} {{ partial "site-verification" . }} {{ end }} - {{ template "_internal/google_analytics_async.html" . }} + {{ template "_internal/google_analytics.html" . }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} diff --git a/themes/coredns/layouts/blog/single.html b/themes/coredns/layouts/blog/single.html index f5fa0e2d..4795ad1f 100644 --- a/themes/coredns/layouts/blog/single.html +++ b/themes/coredns/layouts/blog/single.html @@ -29,11 +29,7 @@

{{.Title}}

{{ partial "post/related-content" . }} - {{ if .Site.DisqusShortname }} -
- {{ template "_internal/disqus.html" . }} -
- {{ end }} + {{ template "_internal/disqus.html" . }} {{ partial "notes-source" . }} diff --git a/themes/coredns/layouts/community/list.html b/themes/coredns/layouts/community/list.html index 17454f85..0a5f8c58 100644 --- a/themes/coredns/layouts/community/list.html +++ b/themes/coredns/layouts/community/list.html @@ -17,11 +17,7 @@

{{.Title}}

- {{ if .Site.DisqusShortname }} -
- {{ template "_internal/disqus.html" . }} -
- {{ end }} + {{ template "_internal/disqus.html" . }}