Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with Hugo 0.125.3 #33

Closed
sciwhiz12 opened this issue Apr 24, 2024 · 0 comments · Fixed by #34
Closed

Fails to build with Hugo 0.125.3 #33

sciwhiz12 opened this issue Apr 24, 2024 · 0 comments · Fixed by #34
Labels
bug Something isn't working

Comments

@sciwhiz12
Copy link
Member

The website fails to build with Hugo v0.125.3 with the following output:

Start building sites …
hugo v0.125.3-474c4c02212cf97712c6fbf4159c68822ea6e078+extended windows/amd64 BuildDate=2024-04-22T17:18:35Z VendorInfo=gohugoio

ERROR render of "term" failed: execute of template failed: html/template:_default/list.html:44:14: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: execute of template failed: html/template:_default/single.html:44:14: no such template "_internal/google_analytics_async.html"
Total in 108 ms
Error: error building site: render: failed to render pages: render of "home" failed: execute of template failed: html/template:index.html:44:14: no such template "_internal/google_analytics_async.html"

The build works on Cloudflare Pages as it uses the specific Hugo version of 0.118.2 as of writing (see their documentation, under the v2 build system), although the Hugo version can be changed with the HUGO_VERSION page environment variable.

Given that local development of the website are likely to use the latest version of Hugo, we should look into fixing whatever is causing that issue. If possible, we should fix it in a way that is compatible with both Hugo 118.2 (used by Cloudflare) and the latest version.

@sciwhiz12 sciwhiz12 added the bug Something isn't working label Apr 24, 2024
UltimatChamp added a commit to UltimatChamp/websites that referenced this issue May 10, 2024
- Full-sized website window for a modern look.
- Added transitions to everything.
- Added a new Legacy badge.
- Provided a Hugo executable file like `gradlew` (fixes neoforged#33).
- Fixed the single-lined code block on notices to look unreadable in light mode.
- Covered some more IDEs in `.gitignore`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant