You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The template is not being overwritten at either of the two lookup paths - neither exist (/layouts/robots.txt, /themes/<THEME>/layouts/robots.txt) but even if it was I would expect an empty or otherwise changed file, not a lack of a file.
simonhollingshead/simonhollingshead.com@bc822a0 - a github action writes the files back for me. You can see the expected mutations of the change of version in the meta tag, a completely acceptable change where the sitemap now actually generates a modified date for the homepage where it didn't before, but also the removal of the robots.txt file.
I saw no breaking change or description in the release notes that any changes were being made to the robots.txt generation.
What version of Hugo are you using (hugo version)? 0.123.0
Does this issue reproduce with the latest release? This is the latest.
The text was updated successfully, but these errors were encountered:
I will fix this. I see that the only test we have for this is with a custom robotstxt template (which I then assume work), but not a test for the built-in template.
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 20, 2024
I just cut over from 0.122.0 to 0.123.0 (simonhollingshead/simonhollingshead.com@457da72). I made no other changes.
I have always had enableRobotsTXT enabled. https://github.com/simonhollingshead/simonhollingshead.com/blob/main/hugo.toml#L6
The template is not being overwritten at either of the two lookup paths - neither exist (/layouts/robots.txt, /themes/
<THEME>
/layouts/robots.txt) but even if it was I would expect an empty or otherwise changed file, not a lack of a file.simonhollingshead/simonhollingshead.com@bc822a0 - a github action writes the files back for me. You can see the expected mutations of the change of version in the meta tag, a completely acceptable change where the sitemap now actually generates a modified date for the homepage where it didn't before, but also the removal of the robots.txt file.
I saw no breaking change or description in the release notes that any changes were being made to the robots.txt generation.
What version of Hugo are you using (
hugo version
)? 0.123.0Does this issue reproduce with the latest release? This is the latest.
The text was updated successfully, but these errors were encountered: