Is there a way to do this that doesn't require the templates to be in `index.html`? The way you have it now would require new plugin widgets to modify `index.html`, which isn't ideal.