From 04e6cca9f8ba412cd0221138eb7465cc49a8453f Mon Sep 17 00:00:00 2001 From: Christopher Tauchen Date: Fri, 17 Jul 2026 13:00:48 +0100 Subject: [PATCH] SEO: Emit in sitemap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The generated sitemap.xml had no timestamps (only changefreq and priority), so search engines had no signal that a page's content changed. This hurts pages whose body is fully replaced each release under a stable URL — most notably /calico/latest/release-notes/ — leaving stale snapshots in the index. Enable the sitemap plugin's `lastmod: 'date'` option (supported since Docusaurus 3.4; project is on 3.10) so each URL gets a date derived from git. Co-Authored-By: Claude Opus 4.8 (1M context) --- docusaurus.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index 18b90e6221..70b8b014a3 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -87,6 +87,7 @@ export default async function createAsyncConfig() { sidebarPath: false, }, sitemap: { + lastmod: 'date', ignorePatterns: ['/calico/[0-9]*.[0-9]*/**', '/calico-enterprise/[0-9]*.[0-9]*/**'], }, googleTagManager: {