Documentation
    Preparing search index...

    The template engine: holds compiled templates and renders them against context.

    Index
    hbs: typeof Handlebars

    The Handlebars instance used for template compilation and rendering.

    • Render a compiled template against a context.

      Parameters

      • key: string

        The cache key of the compiled template.

      • context: Record<string, unknown>

        The data context for rendering.

      Returns string | null

      The rendered string, or null if the template was not found.