\documentclass[11pt]{article}
\usepackage[a4paper, portrait, includehead, includefoot, margin=1.5cm]{geometry}

\usepackage[$if(lang)$$lang$$else$dutch$endif$]{babel}

\usepackage{pdfpages}

\usepackage{xcolor}
\usepackage{makecell}
\usepackage{tabularx}
\usepackage{adjustbox}

\usepackage{framed}

\usepackage{longtable}
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\usepackage{booktabs}

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}

\newfontfamily\fontRoboto[]{Roboto}
\newfontfamily\fontUbuntu[]{Ubuntu}
\setmainfont{Roboto}

% \usepackage[style=ieee]{biblatex}
% \usepackage{csquotes}
% \addbibresource{bibliography.bib}

% header and footer
\usepackage{fancyhdr}
\renewcommand{\headrule}{}

\usepackage[nodayofweek]{datetime}

\definecolor{darkishyellow}{rgb}{177, 179, 173}

% for images
\usepackage{graphbox}
\usepackage{sectsty}
\sectionfont{\clearpage}
\newcommand\pandocbounded{}

\setkeys{Gin}{width=.99\linewidth}

% add bookmarks with \hypertarget
\usepackage{bookmark}
\usepackage{hyperref}

% heading numberging
\setcounter{secnumdepth}{3}
\renewcommand\thesection{{\fontUbuntu\arabic{section}}}
\renewcommand\thesubsection{{\fontUbuntu\arabic{section}.\arabic{subsection}}}
\renewcommand\thesubsubsection{{\fontUbuntu\arabic{section}.\arabic{subsection}.\arabic{subsubsection}}}
\usepackage{sectsty}
\allsectionsfont{\fontUbuntu}
\setlength{\headheight}{14pt}

% no indent at paragraphs
\usepackage{parskip}
\usepackage{setspace}
\setstretch{1.1}
\let\tmpitem\itemize
\let\tmpenditem\enditemize
\renewenvironment{itemize}{\tmpitem\setlength\itemsep{-.4em}}{\tmpenditem}

$if(highlighting-macros)$
$highlighting-macros$
$endif$

\begin{document}
\raggedright
\pagecolor{darkishyellow}

\begin{titlepage}
    .
    \vskip 10em
    \begin{center}
        {\Huge\fontUbuntu $title$ \par}
        \vskip 3em
        {\huge\fontUbuntu $sub_title$ \par}
    \end{center}
    \null\vfill
    {
        \large
        \lineskip .75em
        \begin{tabular}{r l}
$if(lang)$Auther$else$Gemaakt door$endif$: $for(auther)$& $auther.name$ <$auther.email$> \\
                         $endfor$\\
$if(class_code)$
$if(lang)$Class code$else$Vak code$endif$: & $class_code$ \\\\
$endif$
$if(lang)$Exported on$else$Ge\"exporteerd op$endif$: & \today
        \end{tabular}
    }
\end{titlepage}

\pagestyle{fancy}
\fancyhead{} % clear all header fields
\fancyhead[LO]{\color{gray}\fontUbuntu $title$}
\fancyhead[RO]{\color{gray}\fontUbuntu $sub_title$}
\fancyfoot{} % clear all footer fields
\fancyfoot[LO]{\color{gray}\fontUbuntu $for(auther)$$auther.name_short$${sep}, $endfor$}
\fancyfoot[CO]{\color{gray}\fontUbuntu }
\fancyfoot[RO]{\color{gray}\fontUbuntu \thepage}

$if(toc)$
\tableofcontents
$endif$
$if(lof)$
\listoffigures
$endif$
$if(lot)$
\listoftables
$endif$

$body$


% $if(nocite-ids)$
% \nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
% $endif$
% $if(natbib)$
% $if(bibliography)$
% $if(biblio-title)$
% $if(has-chapters)$
% \renewcommand\bibname{$biblio-title$}
% $else$
% \renewcommand\refname{$biblio-title$}
% $endif$
% $endif$
% \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}

% $endif$
% $endif$
% $if(biblatex)$
% \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$

% $endif$

\end{document}
