Template helper for calculating the relative path to an assets or public directory.
npm i helper-assets --save
npm test
This should work with any engine, here are a few examples
With template
template.helper('assets', require('helper-assets'));
With assemble
assemble.helper('assets', require('helper-assets'));
With verb
verb.helper('assets', require('helper-assets'));
With handlebars:
var handlebars = require('handlebars');
handlebars.registerHelper('assets', require('helper-assets'));
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
[object Object]
Copyright (c) 2014 Jon Schlinkert
Released under the MIT licenses
This file was generated by verb on November 07, 2014.