• Extracts h2 headings with IDs from a Handlebars template file. Used for generating table of contents for content pages.

    Parameters

    • templateName: string

      Template path relative to views directory (e.g., 'multilingual/faq-en')

    • runtimeRoot: string

      Application runtime root path

    Returns Promise<Heading[]>

    Array of heading objects with id and text