Getting all anchor links in rendered page (including header->footer)

There is plans to add a data structure on page, e.g.

Page.ContentMap
=> Headers
=> TableOfContents
=> Images
=> Links
=> whatever

I would also love if at least some of these had pointers into the rendered content, so I could walk the content tree in my template and do stuff ala:

  • Insert adds after every third headline
  • Add byline after the first paragraph
4 Likes