The title of this post should be self-explanatory. I export pages to static, and would like the text in the browser tab to be the same as the tiddler title, but it is always the contents of the SiteTitle. So is there a way to set SiteTitle so that its contents are always the title of the active tiddler?
My tab, even after deleting $:/SiteTitle to revert it to default, shows the contents of $:/SiteTitle. Probably the difference is that I use single file and you use node.js?
[edit for posterity’s sake: this solution caused other problems, notably that the CSS did not get applied to the static tiddler using this solution. Also, it would be better just to clone one of the existing tiddlers tagged $:/tags/Exporter and edit it.
But ultimately I chose JanJo’s solution + my alteration, see below]