Thanks very much, my wording was very loose.

The instructions say" Include the JavaScript SDK on your page once, ideally
right after the opening body tag."

ngā mihi

SImon


On Mon, 6 Sept 2021 at 05:04, Petko Yotov <5...@5ko.fr> wrote:

> On 05/09/2021 11:10, Simon wrote:
> > Does PmWiki have the ability to specify scripts to be added to a page
> > directly after the body tag?
>
> $HTMLFooterFmt is intended for this:
>
>    $HTMLFooterFmt['my-recipe'] =
>      '<script src="$FarmPubDirUrl/my-recipe.js"></script>';
>
> Or possibly, if you want to allow customization:
>
>    SDVA($HTMLFooterFmt, array('my-recipe' => '<script ...>'));
>
>
> BTW, this is not added "after" the </body> tag but just before it. After
> it would be invalid HTML.
>
> Petko
>
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to