In a template (or for that matter anywhere in wikitext), is there a way to determine whether we’re currently generating a static site? I would like to hide some features in the static site that don’t function correctly without JavaScript. I’m envisioning something like:
<$list filter="[<isGeneratingStaticSite>!match[yes]]" variable=_>
... insert stuff to show only in the native version here ...
</$list>
Worst case I guess I could make a copy of the whole wiki and change a tiddler before rendering, but that seems stupid.