web - Static HTML compilation with partials using Grunt.js -
i've been looking on let me precompile static websites using grunt. needs have partials, can include things common header/footer across pages.
so far, i've found jade, has grunt plugin, , this plugin grunt compiles dust.js templates static html. don't jade's syntax, , dust plugin grunt less ideal.
are there static html templating languages grunt/gulp support don't deviate regular html, , still active?
i found plugin named grunt-includes. i've been looking answer question forever. first 1 i've seen seems easy use. others seem maybe have feature 20x other things seem wrong tool job.
the 1 thing missing me ability prefix relative paths. i'm talking developer of modest becoming better option.
update: there's grunt-includes-replace simple , can prefix relative paths. ie: lets pass in variables.
Comments
Post a Comment