[Moin-user] Adding content (script tag) to HTML header from a macro

Paul Moore p.f.moore at gmail.com
Tue Nov 29 13:36:00 EST 2005


I have a macro which relies on some JavaScript, which I need to load
in the header of the page. At the moment, I've configured the wiki to
add the script to the top of *all* pages, using the html_head config,
but this seems like overkill (as well as being a PITA for
portability).

Is it possible for a macro to inject content into the HTML header at runtime?

Thanks in advance,
Paul.




More information about the Moin-user mailing list