
\makeatletter
\begin{titlepage}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
\newcommand{\fnclink}[2]{
	\let\Jobname\jobname
%	\ifthenelse{
%		\equal{netzbiotop-dokumentenmappe}{\Jobname}
%	}{
%		\ref{#1}{#2}
%	}{
		\ifthenelse{
			\equal{\detokenize{#1}}{\Jobname} %\or \equal{}{\Jobname}
		}{
			\hyperlink{#1}{#2}
		}{
			\href{#1}{#2}
		}
%	}
}

\center % Center everything on the page
 
%----------------------------------------------------------------------------------------
%   HEADING SECTIONS
%----------------------------------------------------------------------------------------
\textsc{\LARGE \@author}\\[5em] % Name of your university/college

%----------------------------------------------------------------------------------------
%   TITLE SECTION
%----------------------------------------------------------------------------------------
\HRule \\[2em]
{ \huge \bfseries \@title}\\[1em] % Title of your document
\HRule \\[1.5cm]
 
% If you don't want a supervisor, uncomment the two lines below and remove the section above
%\Large \emph{Author:}\\
%John \textsc{Smith}\\[3cm] % Your name

%----------------------------------------------------------------------------------------
%   DATE SECTION
%----------------------------------------------------------------------------------------
{\large \@subtitle}\\[2cm] % Date, change the \today to a set date if you want to be precise

%----------------------------------------------------------------------------------------
%   LOGO SECTION
%----------------------------------------------------------------------------------------

\newcommand{\Logo}{./logo.pdf}
\parbox[4cm]{5cm}{
	\IfFileExists{\Logo}{
		\includegraphics[scale=2.0]{\Logo}\\[1cm] % Include a department/university logo - this will require the graphicx package
		%\includegraphics*[width=4cm]{\Logo}
	}{
		% nothing
    %\begin{scaletikzpicturetowidth}{3cm}        \FallbackLogo{}    \end{scaletikzpicturetowidth}
	}
}
 
%----------------------------------------------------------------------------------------

%\vfill % Fill the rest of the page with whitespace
\bigskip

\Large{

	\begin{tabular}{lc}
		\textbf{Dokument}	&	\textbf{Status}	\\\\
		\hline
		\\
			\fnclink{netzbiotop-satzung}{Satzung}
		&	offiziell	\\\\
			\fnclink{netzbiotop-kassenordnung}{Kassenordnung}
		&	offiziell	\\\\
			\fnclink{netzbiotop-beitragsordnung}{Beitragsordnung}
		&	offiziell	\\\\
			\fnclink{mitgliedschaftsformular.ott}{Mitgliedschaftsformular}
		&	Entwurf	\\\\
			%\fnclink{netzbiotop-energiebrief}{
			Broschüre%}
		&	angedacht	\\\\
	\end{tabular}

}

\vfill % Fill the rest of the page with whitespace

\end{titlepage}

%anchor for link from table of documents
\hypertarget{\jobname}{\,}
