I just wanted to share this little trick if someone, should be searching for the answer.
If you want to use handlebars.js for semantic script templating, you'll most likely find Contao's neat insert tag feature blow things up.
To get around this, create your handlebars templates in the templates directory, like tweets_handlebars.html5 and include them with
Code:
{{file::tweets_handlebars.html5}}
whereever you'll need them (;
I hope you'll find it pretty useful - a pain in the butt turned into double rainbows :D
Bookmarks