I'd like to add https://hypothes.is support to all pages on my site. It's a trivial addition of a JS include in the header, which I thought I would do cleanly by adding it as a plugin. However, short of hacking in:
site.template_hooks['extra_head'].append('')
directly into the markdown plugin, I can't identify how I can add it as a standalone plugin that it will run as part of the normal build. Is this possible ?
I'd like to add https://hypothes.is support to all pages on my site. It's a trivial addition of a JS include in the header, which I thought I would do cleanly by adding it as a plugin. However, short of hacking in:
site.template_hooks['extra_head'].append('')
directly into the markdown plugin, I can't identify how I can add it as a standalone plugin that it will run as part of the normal build. Is this possible ?