page /search/ does not have a modified date #84
|
In version 0.90.1, starting the Hugo server shows the below warning: I have a file And in hugo.toml, the following search-related declarations: What is the warning about and how can I get rid of it ? |
Answered by
willfaught
Jul 29, 2024
Replies: 1 comment
|
The atom output requires a modified date to be well-formed. You can either set the page's date parameter, or set the page's paige.feed.disable parameter to true, or disable the atom output. For example, when the example site had a search page, it had [paige.feed]
disable = truein the front matter. v0.91.1 (just released) changed the warning wording to explain this. Hopefully it will be clearer. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The atom output requires a modified date to be well-formed. You can either set the page's date parameter, or set the page's paige.feed.disable parameter to true, or disable the atom output. For example, when the example site had a search page, it had
in the front matter.
v0.91.1 (just released) changed the warning wording to explain this. Hopefully it will be clearer.