Articles on: Site Manager

Sitemap - Auto-generation

You can output a list of pages using the following include:

{% include 'sitemap', layout: 'xml', types: 'pages' -%}

layout - xml or html - These are set layouts for each type. html will output in <ul><li> format.

types - Choose what types of content you want to show, by submitting a comma separated list from these options: pages,webapps,modules,products

The sitemap will only show items that are enabled, have a detail view, have a slug and are within their released/expired timeframe.

For best results, use this include on your sitemap.xml System Page (with the xml layout) or your own custom Page (with the html layout)

Updated on: 18/11/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!