vendredi 11 septembre 2015

Ractive / Moustache Template for Head Tag

I have been searching for this all over, but can not find an answer or example.

Can a Ractive template be used to construct head elements that are consistant across pages, and can that be loaded from a separate file?

For example: all html, head, and title tag info is loaded via a referencable template from an external file into an index page. +html+ +head+ +title+ +/title+ +/head+

And if so, how do you do it? As I try to wrap my head around it, jquery and ractive.js would need to load. Is there a different/better solution?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire