Stone.js API
    Preparing search index...
    • Resolve the head declared by a page's layout, if any.

      A layout may expose an optional head() returning a HeadContext (brand-level defaults: canonical social card, site name, theme color, …). It is resolved from the same stone.useReact.layouts.<name> entry the layout component comes from, so declarative and lazily code-split layouts are covered identically.

      Parameters

      • container: IContainer

        Service Container.

      • OptionallayoutName: unknown

        The layout name.

      Returns Promise<HeadContext>

      The layout head context, or undefined when the layout defines none.