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
Search-Index and Sitemap not generated after Theme update #743
Comments
I'll take a look into it... stay tuned |
This seems to be race condition. If I run Interestingly, my own page never behaved this way... ...still thinking how to avoid this... |
Ok, got it. Although I still don't know why this race condition happens. The main reason is, that pages with empty In your case your To solve it, exchange your title to this:
|
Wow! Thank you so much for this quick find. The empty Title in the top most _index.de.md was changed during the update because of the new archtype=home Template that is used. We have a H1 with a parameter in the content and this was the easiest way to get the same look. Think this was a bit too quick and dirty 😉 Will try to find a better solution with a real title, but your idea with a space is a nice workaround and kept in mind. But it's interesting why this accidental hiding of the pages doesn't affect the menu generation? |
He he, Full roundtrip here: #134 (comment) If you visit a hidden page, it is always revealed in your menu. Because the |
🙄 lol 🤣 |
Ein leerer Titel versteckt die Seite und alle Unterseiten. Macht man das in der Homepage, dann sind alle Seiten versteckt und werden damit weder in der Suche noch in der Sitemap eingebunden. see also: McShelby/hugo-theme-relearn#743 (comment)
I soon have a more elegant solution: #744 The basic idea is, to override the new
By that, you could revert |
Ein leerer Titel versteckt die Seite und alle Unterseiten. Macht man das in der Homepage, dann sind alle Seiten versteckt und werden damit weder in der Suche noch in der Sitemap eingebunden. see also: McShelby/hugo-theme-relearn#743 (comment)
Ein leerer Titel versteckt die Seite und alle Unterseiten. Macht man das in der Homepage, dann sind alle Seiten versteckt und werden damit weder in der Suche noch in der Sitemap eingebunden. see also: McShelby/hugo-theme-relearn#743 (comment)
Hey Folks,
just updating the theme on our project "BITS Training" form version 5.3 to 5.23. Fixed all error, warning and deprecation messages during hugo build but can't get search to work. It was working perfect with the old "JSON" Based search before.
I checked the index.search.js and it is quite empty. It seams only the more section content is indexed. These are the sites that where moved due to the changes in Theme version 5.9
The same thing is happening with the sitemap.xml. It was working with Theme 5.3 and now only the more section content is listed in the sitemap.xml 🤷♂️
Maybe someone can check out the repo and give me a hint what's going wrong with our content?
Many thanks 😊
The text was updated successfully, but these errors were encountered: