\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P7894 }

\author{ Sam Wilson }

\date{ 2018 April 21 (Saturday), 6:34AM }

\begin{document}
\maketitle
\tableofcontents

Cropped version:
&lt;a href="https://www.flickr.com/photos/freosam/40701606645/"&gt;www.flickr.com/photos/freosam/40701606645/&lt;/a&gt;

\end{document}
