\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P23974 }

\author{ Sam Wilson }

\date{ 2021 June 14 (Monday), 2:58AM }

\begin{document}
\maketitle
\tableofcontents

Yeah, that does seem to work. Some rough edges to be figured out with the flow, to get the right URLs at the right time.

\end{document}
