<header>
<h1><a href="$url$">$if(title)$$title$$else$$pagetitle$$endif$</a></h1>
$if(abstract)$
$abstract$
$endif$
</header>
$if(toc)$
<nav>
$if(toc-title)$
<h2>$toc-title$</h2>
$table-of-contents$
</nav>
$body$