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

no such template "_internal/google_news.html" #654

Open
emin63 opened this issue Sep 22, 2023 · 5 comments
Open

no such template "_internal/google_news.html" #654

emin63 opened this issue Sep 22, 2023 · 5 comments
Milestone

Comments

@emin63
Copy link

emin63 commented Sep 22, 2023

I get an error about "no such template" when trying to use ananke with the latest version of hugo (0.118.2):

ERROR render of "page" failed: execute of template failed: html/template:_default/single.html:40:17: no such template "_internal/google_news.html" 

I downgraded to version 0.90 and everything worked. Any suggestions?

Thanks

@davidsneighbour davidsneighbour added this to the unplanned milestone Sep 19, 2024
@tknipe
Copy link

tknipe commented Sep 25, 2024

having the same issue, is there a fix for this?

@davidsneighbour
Copy link
Collaborator

davidsneighbour commented Sep 26, 2024

Let me check that. The internal template for Google News was deprecated quite a while ago. I'll remove any trace of that for the next release.

This was fixed and released in 2019. Please update your submodule/module of Ananke.

If you installed as module: run hugo mod get -u ./... in your repository root.
If you installed as git submodule: run git pull inside of the submodule folder.

@tknipe
Copy link

tknipe commented Sep 26, 2024

Thanks! I've been using it as part of the deployment template that Vercel provides so maybe its outdated on there.

I might just start again and do everything manually.

@davidsneighbour
Copy link
Collaborator

davidsneighbour commented Sep 26, 2024

I just tested the quick start guide with the latest release (future... there is a prerelease here). It works great now. I'll have a look at the Vercel template before I release that properly... Good to be reminded. I think other providers might have a release template too.

@davidsneighbour
Copy link
Collaborator

The Vercel template uses a 2 year old state of the theme. I'll contact them to get to some kind of agreement on how to include the theme into their templates. Right now it requires manual work. I think if possible on Vercel you will need to fix the Hugo version to a version released 2 years ago. Not optimal. This argument might help to solve it over there :)

I will release the new version with a note about that and work on the issue later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants