Version: v0.8.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())

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

See Also