page_toc

Signature
page_toc(page=)

The table of contents of page.

Arguments#

ArgumentTypeRequired
pagepageyes

Details#

  • Kind: Function, implemented by fugo.
  • Available in: every kind of template: layouts, partials, shortcodes and render hooks.
  • Output: safe HTML, not escaped.
  • Site-bound: reads the site or the page being rendered; in a component, pass page= or declare @__nh.

    Type to search titles, headings and text.