Manual: Sitemaps

Published 25.11.2025 06:10 Edited 02.12.2025 12:54 By Stefan

Search engine sitemaps

A search engine compatible XML sitemap with a nice XSL template is available through /sitemap and /sitemap.xml.

Only pages which are visible and published and do not contain the string noindex in the page YAML robots key are listed in these sitemaps.

The current page head YAML is set to robots: "noindex, nofollow". This page is not listed in the XML sitemap and has <meta name="robots" content="noindex, nofollow"> in the HTML source code beacuse of the specified robots header.

In-page sitemaps

Gravitron can automatically generate page lists for in-page use. While the main menu in desktop view is held in site_menu_desktop and the mobile version in site_menu_mobile, the following list of all pages is available anywhere through the site_menu_full Twig array.

Here links are indented only by CSS (classes link-level-X), this is not an ul or ol: