justjavac/template_examples/layout does not have a README file

    LayoutPage

    pub(all) struct LayoutPage {
    title : String
    body :
    SafeHtml

    }

    Page data rendered by the layout/include example.

    The bound template pulls in shared header and footer partials, escapes title, and renders body as trusted HTML.

    render_demo

    fn render_demo() -> String raise

    Renders the layout example with static includes expanded by codegen.

    main prints this value, and tests call it directly.

    sample_page

    fn sample_page() -> LayoutPage

    Builds the sample page used by the layout example and its tests.

    body is trusted HTML so the template can demonstrate raw output inside a shared layout.