$pagetitle$

$if(highlighting-css)$
$endif$ $for(css)$ $endfor$ $for(header-includes)$ $header-includes$ $endfor$ $if(titlepage)$ $for(title)$ $if(title.text)$

# $title.text$

$else$

# $title$

$endif$ $endfor$ $if(subtitle)$

$subtitle$

$endif$ $for(author)$

$author$

$endfor$ $for(creator)$

$creator.text$

$endfor$ $if(publisher)$

$publisher$

$endif$ $if(date)$

$date$

$endif$ $if(rights)$
$rights$
$endif$ $else$ $if(coverpage)$
$else$ $for(include-before)$ $include-before$ $endfor$ $body$ $for(include-after)$ $include-after$ $endfor$ $endif$ $endif$