In a previous post on how to render complex documents using plain text, it was shown a way to handle titles in the body of the document. This is a good solution for larger documents, but these configurations will only appear if a latex engine is used. There is a way of keeping the title in all pandoc output types as well. That is what will be shown here.
The trick is to use the titling latex package. It allows you to use the standard title variable, which means title will appear in any of the output formats pandoc supports, but also helps to save space and maintain consistency.
I used this method in my PhD thesis and this is how it looked:

Here is an example of how it works. Define the title and authors as you would in any pandoc yaml:
---
title: Super long title goes in here
author: And the brilliant author here
---
One can configure several elements of the title, like spacing, order, position and so on, with the \preauthor
, \postauthor
, \predate
, \postdate
latex commands:
header-includes: |
\preauthor{\begin{center}\pagenumbering{gobble}\Large}
\postauthor{\\ \footnotesize orcid.org/0000-0000-0000-0000 \\ \vspace{4cm} \normalsize Doctor of Philosophy \\ December 2017 \\ \vspace{2cm} \normalsize Department of XXXX \\ Building\\ The University \\ \vspace{4cm} Submitted in total fulfilment of the requirements of the degree of\\Doctor of Philosophy \end{center}}
This is an overall better approach as it allows the writer to publish the document in all pandoc format types, but to add some styling to the PDF version through LaTeX.