-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
_index.en.adoc is not getting recognized at the homepage level: /content #4166
Comments
I have now added tests for this, but this works as I expected. Could you have another look at this and see if it still is a problem? |
Hi. Thanks for working on this. I tried changes to the .adoc file and in fact I can get a
So I changed things back to how they were and I lost my Homepage again, with this content:
Now, I know my Theme does tricks with the main title (level So this works well:
The theme doesn't play with this level of title, so the page appears correctly. As far as Hugo is concerned. it seems the problem is empty content. Do you think this is anything that needs to be improved in Hugo, or simply something the theme needs to improve? |
OK, now I understand. No, that is not something we want to do. You can always add a |
Also, there is |
I am not proficient enough in these things to work on it myself, yet but I'll take it up with my Theme author to see if he thinks he can improve handling of this situation. Thank you for your help and advice. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I changed my homepage file from
content/_index.en.md
to.adoc
extension, I started seeing a message on my homepage instructing me on how to start building my site. I investigated, and it’s my theme’s welcome message, because it’s testing content like this:It seems it's a bug, _index.en.md is correctly recognized as Home page content, but _index.en.adoc isn’t.
This change from .md to .adoc worked perfectly in the rest of my site, through all the different sub-directories.
The text was updated successfully, but these errors were encountered: