Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Page.setBody

$page.setBody($html) -> self

Description

Set the HTML content that will make up the entire contents of the <body> tag.

The <body> tag will automatically be generated with a class param set to bodyClass.

$page.setBody(bodyHtml())

tem bodyHtml {

    <header> MySite.com

    <h1> Welcome to My Site

    <p> This is my website.
    <p> There are others like it, but this one is mine.
}

See Also