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

Page.setHeader

$page.setHeader($html) -> self

Description

Set the HTML content that will be inserted into the <header> tag at the top of the body.

$page.setHeader(headerHtml())

tm headerHtml {
    <nav>
        <a href="/"> Home
        <a href="/articles"> Articles
        <a href="/contact"> Contact
    </>
}

See Also