busao
    Preparing search index...

    Function baseLayout

    • Dynamically builds a semantic HTML page with internationalisation.

      Parameters

      • i18n: i18n

        The internationalisation object.

      • content: string

        The main content to be injected into the page.

      • view: string = ""

        The current view state. Used when an endpoint offers multiple views depending on its state.

      Returns string

      A regular HTML page, with content injected into it.