\documentclass[11pt, openany]{book}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage[paperwidth=4.07in, paperheight=5.43in, top=1cm,
left=0.5cm,bottom=1cm,right=0.5cm]{geometry}
%\setlength{\emergencystretch}{3em}  % prevent overfull lines
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}
$endif$
$if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
$for(header-includes)$
$header-includes$
$endfor$

\makeatletter
% Titre
\renewcommand{\maketitle}{
  \thispagestyle{empty}
  \vspace*{\stretch{1}}

  \begin{center}
    {\Huge \@title   \\[5mm]}
  \end{center}
  \vspace*{\stretch{2}}

  \newpage
  \thispagestyle{empty}
  
  \pagebreak
  \newpage
  
  \thispagestyle{empty}
  \chapter*{}
  \vspace*{\stretch{1}}
  \begin{center}
%    {\Huge \@author \\[5mm]}
    {\Huge \@title   \\[5mm]}
%    {\huge \today   \\[5mm]}    
  \end{center}
  
%  \HRule

  \vspace*{\stretch{2}}

\begin{center}
{\large \@author}
\end{center}

                                
 \vspace*{\stretch{1}}

 \vspace*{\stretch{1}}
}
\pagebreak
\newpage
  \thispagestyle{empty}
\pagebreak
\newpage

% En-tetes
\pagestyle{fancyplain} 
\lhead[\fancyplain{}{}]{\fancyplain{}{}}
% %En-tete droite
\rhead[\fancyplain{}{}]{\fancyplain{}{}}
% %En-tete centre
\chead[\fancyplain{}{}]{\fancyplain{}{}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
% {\fancyplain{}{}}
%Pied de page
\cfoot{\fancyplain{}{}}
\makeatother

$if(title)$
\title{$title$}
$endif$
\author{$for(author)$$author$$sep$ \and $endfor$}
\date{$date$}

\begin{document}
$if(title)$
\maketitle
$endif$

$for(include-before)$
$include-before$

$endfor$
$if(toc)$
{
%\hypersetup{linkcolor=black}
\tableofcontents
}
$endif$
\pagebreak
\newpage
$body$

$if(natbib)$
$if(biblio-files)$
$if(biblio-title)$
$if(book-class)$
\renewcommand\bibname{$biblio-title$}
$else$
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
\bibliography{$biblio-files$}

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

$endif$
$for(include-after)$
$include-after$

$endfor$
\end{document}
