package
Section plugin for generating html by processing underscore templates.
npm install section-htmlGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
This is a plugin for Section, a static site generator, which processes html underscore templates.
This plugin requires the ~0.1.0 version of the grunt-section plugin.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. You may install this plugin with this command:
npm install section-html --saveThis plugin introduces a number of new options that can be set on the grunt-section configuration object inside the Gruntfile.js file. Here’s a simple example of how that file might look like:
grunt.initConfig({
section: {
target: {
options: {
template: 'path/to/template.html'
},
src: 'input/directory/',
dest: 'output/directory/'
},
},
});template (required)type: String
default: undefined
The path to an underscore template file must be provided.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Initial version
Estimated unpacked size across 19 packages.
5.5 MB
Includes dependencies.