Example hierarchical HTML Sitemap template

49 views
Skip to first unread message

Konrad Windszus

unread,
Jul 23, 2021, 12:19:13 PM7/23/21
to JBake Users
Hi,
we at Apache Sling use JBake for our website which works great in general. The only thing which deserves a bit more love is the sitemap at https://sling.apache.org/sitemap.html which is based on https://github.com/jbake-org/jbake-example-project-groovy-mte/blob/master/templates/sitemap.tpl at the moment.

Is there somewhere an example of a template for a HTML sitemap which renders the pages hierarchically (considering the folder structure)? Given that the data model for pages (https://jbake.org/docs/2.5.1/#page_post_custom) is quite limited it seems hard to traverse all pages in the right order....

Thanks in advance for any pointers,
Konrad

Konrad Windszus

unread,
Jul 26, 2021, 10:02:08 AM7/26/21
to JBake Users
Reply all
Reply to author
Forward
0 new messages