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

IsHome sometimes fails to recognise the home page, and the page title is not rendered #14

Closed
nicolas-navarro-guerrero opened this issue Apr 12, 2019 · 5 comments

Comments

@nicolas-navarro-guerrero

I am using the theme for the page indicated below. The front page is often rendered with the header and foot only. Somehow the variable .IsHome is not consistently updated.

In some opportunities, I realize I had removed an empty line in the config file and that triggers the error. However, sometimes I only add a new post without touching the config file, and the error is also triggered. I have not been able to pin point the source of the error.

https://cdstc.gitlab.io/task-force-on-action-and-perception/

@rhazdon
Copy link
Owner

rhazdon commented Apr 15, 2019

Hi @nicolas-navarro-guerrero,

well, I discovered the same issue and I invested now some hours to find the problem. Do you maybe use [taxonomies] in your config.toml?

@kriware
Copy link

kriware commented Apr 16, 2019

With the same error. In my case:

[taxonomies]
  tag      = "tags"
  category = ""

@rhazdon
Copy link
Owner

rhazdon commented Apr 17, 2019

Comment it out, if you do not use it. I don't know why, but this fixed it for me. Still investigating it, but I assume that this is a bug in Hugo.

@sam5558
Copy link

sam5558 commented Apr 21, 2019

Hello @rhazdon @nicolas-navarro-guerrero ,
I had the same error. the fix works also for me (by commenting out the taxomonies section) it's probably be a bug 👍

@siyagule
Copy link

Same issue, commenting out taxonomies worked for me. Thank you

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

5 participants