Comparing version 0.10.0 to 0.10.1
@@ -78,3 +78,3 @@ 'use strict'; | ||
// inject the string into the layout | ||
str = wrapLayout(layout.content, data, delims); | ||
str = wrapLayout(layout.contents || layout.content, data, delims); | ||
obj.after = str; | ||
@@ -81,0 +81,0 @@ |
{ | ||
"name": "layouts", | ||
"description": "Wraps templates with layouts. Layouts can use other layouts and be nested to any depth. This can be used 100% standalone to wrap any kind of file with banners, headers or footer content. Use for markdown, HTML, handlebars views, lo-dash templates, etc.", | ||
"version": "0.10.0", | ||
"description": "Wraps templates with layouts. Layouts can use other layouts and be nested to any depth. This can be used 100% standalone to wrap any kind of file with banners, headers or footer content. Use for markdown, HTML, handlebars views, lo-dash templates, etc. Layouts can also be vinyl files.", | ||
"version": "0.10.1", | ||
"homepage": "https://github.com/doowb/layouts", | ||
@@ -33,3 +33,5 @@ "author": "Brian Woodward (https://github.com/doowb)", | ||
"mocha": "^2.2.5", | ||
"should": "^7.0.2" | ||
"should": "^7.0.2", | ||
"to-vinyl": "^0.2.0", | ||
"vinyl": "^0.5.0" | ||
}, | ||
@@ -36,0 +38,0 @@ "keywords": [ |
# layouts [![NPM version](https://badge.fury.io/js/layouts.svg)](http://badge.fury.io/js/layouts) [![Build Status](https://travis-ci.org/doowb/layouts.svg)](https://travis-ci.org/doowb/layouts) | ||
> Wraps templates with layouts. Layouts can use other layouts and be nested to any depth. This can be used 100% standalone to wrap any kind of file with banners, headers or footer content. Use for markdown, HTML, handlebars views, lo-dash templates, etc. | ||
> Wraps templates with layouts. Layouts can use other layouts and be nested to any depth. This can be used 100% standalone to wrap any kind of file with banners, headers or footer content. Use for markdown, HTML, handlebars views, lo-dash templates, etc. Layouts can also be vinyl files. | ||
@@ -5,0 +5,0 @@ ## Install |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12468
5