LaTeX template: don't emit empty linkcolor= in hypersetup.

Closes #11098.
This commit is contained in:
John MacFarlane
2025-09-02 09:39:39 +02:00
parent 6070ad29cd
commit 0cdb430110
+3 -1
View File
@@ -95,7 +95,9 @@ $if(toc-title)$
$endif$
{
$if(colorlinks)$
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
$if(toccolor)$
\hypersetup{linkcolor=$toccolor$}
$endif$
$endif$
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents