diff --git a/templates/sitemap.hbs b/templates/sitemap.hbs index 743f6aa25..a9d67e666 100644 --- a/templates/sitemap.hbs +++ b/templates/sitemap.hbs @@ -11,7 +11,11 @@ For date/time format, see https://www.w3.org/TR/NOTE-datetime {{#each (sitemap site.pages) }} + {{#if (active_project uri "api/hub/")}} + https://developer.fermyon.com{{replace uri "api/hub/" "hub/preview/"}} + {{else}} https://developer.fermyon.com{{uri}} + {{/if}} {{#if page.head.date }}{{date_format "%Y-%m-%dT%H:%M:%SZ" page.head.date}}{{/if}} {{#if (active_project uri "/spin/v1" )}} weekly