gulp-twig-pipe
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "gulp-twig-pipe", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Gulp plugin that runs JSON files through a Twig template, converting them to HTML", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,3 +40,3 @@ # gulp-twig-pipe | ||
templateSrc: Path to a handlebars template, | ||
templateSrc: Path to a twig template, | ||
or gulp (or vinyl) stream of template files. | ||
@@ -95,3 +95,3 @@ | ||
* **compile** (defaults to `handlebars.compile`). | ||
* **compile** (defaults to `Twig.twig`). | ||
@@ -107,6 +107,6 @@ Function used to compile each template. | ||
### twig.handlebars | ||
### twig.twig | ||
This is the underlying Handlebars object used by this plugin. | ||
Using this reference, you can use the full Handlebars API | ||
This is the underlying Twig object used by this plugin. | ||
Using this reference, you can use the full Twig.js API | ||
and be certain to affect the module used by the plugin. | ||
@@ -172,3 +172,3 @@ | ||
In this case, you have to list the `frontMatter` path element | ||
of your data structure explicitely in your handlebars template. | ||
of your data structure explicitely in your twig template. | ||
@@ -175,0 +175,0 @@ ```js |
33914