v0.7.0
Added
-
[params.aeo] flatSitemap, which publishes/sitemap.xmlas one flat
<urlset>covering every language instead of Hugo's<sitemapindex>. On a
multilingual site the index is a shape a crawler has to know to follow, and a
good number do not: they read/sitemap.xml, take the<loc>s and audit those
as pages — two XML files with no title, no structured data and no prose — while
the site itself is never opened.npx aeo.js checkv0.0.16 does exactly this,
and measured against a bilingual portfolio it cost 12 of 100 points (Meta "80%+
pages have titles", Schema "Article/WebPage", Citability "Structured lists") for
content already in the build: the one post it never reached carries a
BlogPostingnode and a<ul>. The flat urlset keeps everyhreflang
alternate, and the per-language sitemaps are still built and served at their own
URLs, so nothing that already indexed one starts 404ing.Off by default, for the reason
allowTrainingis on:/sitemap.xmlis a
published contract with every crawler that already knows the site. Inert on a
single-language site, where Hugo builds no index in the first place. Like the
other switches it must be a real boolean — a string warns and changes nothing.It is a whole-site param, not a per-language one:
/sitemap.xmlis one file, so
it is read from the first language by weight and any other language that sets a
different value is named in a warning. The README teaches
[languages.<lang>.params…]for other params, and silence here would be exactly
the failureparams-bool.htmlexists to prevent.
Fixed
- The README's price for
keepQuoteswas wrong. It said "about 150 bytes",
uncompressed and unattributed; on the exampleSite home page it is 436 (11,762 →
12,198) and 29 gzipped. Both numbers are documented now, and the snippet gained
the[minify]parent table it needs to be pasted into ahugo.tomlas written.
Full changelog: v0.6.0...v0.7.0