If lastmod is omitted in additions in the YAML config it’s still included as an empty element in the XML output. Empty values for <lastmod> are invalid and result in errors in the Google Search Console.
The <lastmod> element is optional and should be omitted if it’s empty.
If
lastmod
is omitted inadditions
in the YAML config it’s still included as an empty element in the XML output. Empty values for<lastmod>
are invalid and result in errors in the Google Search Console.The
<lastmod>
element is optional and should be omitted if it’s empty.