Hi,

Konrad Windszus wrote:
> What is the reason why the selector at
> https://github.com/apache/sling-site/blob/f7d38e20d4576a37413fb3d31a28060e8dc0ac60/src/main/jbake/templates/page.tpl#L49
> only lists h2 and h3?

Omitting h1 avoids duplicating the page title in the ToC, and stopping
at h3 prevents the ToC from becoming too detailed.

I think this works well, taking this page as an example:
http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html

But I'm open to different views of course, what would you do differently?

-Bertrand

Reply via email to