make4ht generates a <header> block at the top of the html <body> element which contains the \@title value as plain text inside an <h2> element. I want to make this header title a hyperlink which points to the homepage. I can successfully do this with this code inside the configuration file:
\makeatletter \Configure{siteheader}{\ifvmode\IgnorePar\fi\EndP\HCode{<header class="header-bar">\Hnewline <a href="article.html">\@title</a><button type="button" class="hamburger">\string≡</button>\Hnewline </header>}} \makeatother but I want to replace "article.html" with the content of a variable that holds this value. How do I do this (what is the name of the variable)?
\jobname.htmldoes what you want