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
.
NoteThis will override anything set to
header
, footer
, and main
. In other words, you must set either the body, or the combination of header/footer/main.$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. }