We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93bd3d commit 6ee2376Copy full SHA for 6ee2376
partials/latex/before-body.tex
@@ -1,16 +1,17 @@
1
% --- BEGIN CUSTOM COVER PAGE ---
2
-% Hard coding: not the optimal solution
+$if(book.cover-image)$
3
\begin{titlepage}
4
\newgeometry{margin=0pt}
5
\thispagestyle{empty}
6
\noindent
7
\begin{minipage}[c][\paperheight][c]{\paperwidth}
8
\centering
9
- \includegraphics[width=\paperwidth, height=\paperheight]{images/cover_halmos_naive_set_theory.png}
+ \includegraphics[width=\paperwidth, height=\paperheight]{$book.cover-image$}
10
\end{minipage}
11
\end{titlepage}
12
\restoregeometry
13
\cleardoublepage
14
+$endif$
15
% --- END CUSTOM COVER PAGE ---
16
$if(has-frontmatter)$
17
\frontmatter
0 commit comments