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

Warnings issued when serving locally #634

Open
1 of 2 tasks
chalin opened this issue Apr 26, 2021 · 3 comments
Open
1 of 2 tasks

Warnings issued when serving locally #634

chalin opened this issue Apr 26, 2021 · 3 comments
Assignees

Comments

@chalin
Copy link
Contributor

chalin commented Apr 26, 2021

The following warnings are issued when serving locally (I'm using Hugo v0.82.0+extended), and this seems to cause Hugo to repeatedly rebuild the site, even w/o changes to the underlying files:

WARN 2021/04/26 10:18:38 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/04/26 10:18:38 found no layout file for "redirects" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
@gcolliso
Copy link
Member

We aren't using taxonomy per se in our site any longer as we instituted a blog search instead of using tags/categories. Is this something we should keep and create a template or remove it?

I don't know what the redirects would be used for.

@chalin
Copy link
Contributor Author

chalin commented Apr 27, 2021

We aren't using taxonomy per se in our site any longer

Ok, I can clean that out if you'd like.

I don't know what the redirects would be used for.

The problem is that the config file declares that there is a redirects file, but there is no layout for it. #640 adds the necessary layout file. (I could have removed the config entries to avoid having a redirects file altogether, but Netlify redirects are very useful and convenient -- and they'll be necessary if/when we clean out taxonomies.

@gcolliso
Copy link
Member

I think we can remove the reference to taxonomy.

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

2 participants