Skip to content

fix: restore Hugo build compatibility - #348

Open
immanuwell wants to merge 1 commit into
coredns:masterfrom
immanuwell:fix/hugo-build-compat
Open

fix: restore Hugo build compatibility#348
immanuwell wants to merge 1 commit into
coredns:masterfrom
immanuwell:fix/hugo-build-compat

Conversation

@immanuwell

Copy link
Copy Markdown

Fixes #311

make blows up on current Hugo because _internal/google_analytics_async.html is gone. After that, .Site.DisqusShortname is another tripwire.

This switches to _internal/google_analytics.html and lets the embedded Disqus template decide if it should render. Small fix, no config churn, pretty low risk.

Repro:

  1. Install Hugo 0.134.1 or newer
  2. Run make
  3. See no such template "_internal/google_analytics_async.html"

Checked:

  1. make all with Hugo 0.161.0
  2. Site build with Hugo 0.100.2 from netlify.toml

Signed-off-by: immanuwell <pchpr.00@list.ru>
@immanuwell
immanuwell force-pushed the fix/hugo-build-compat branch from ddd6557 to 4087bfd Compare June 6, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant