$if(title)$
#+TITLE: $title$
$endif$
$if(author)$
#+AUTHOR: $for(author)$$author$$sep$; $endfor$
$if(date)$
#+DATE: $date$
$for(header-includes)$
$header-includes$
$endfor$
$for(include-before)$
$include-before$
$body$
$for(include-after)$
$include-after$