metalsmith-assets | Include static assets in your Metalsmith build | Static Site Generator library
kandi X-RAY | metalsmith-assets Summary
kandi X-RAY | metalsmith-assets Summary
DEPRECATED - Include static assets in your Metalsmith build
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of metalsmith-assets
metalsmith-assets Key Features
metalsmith-assets Examples and Code Snippets
Community Discussions
Trending Discussions on metalsmith-assets
QUESTION
I try to make me a boilerplate with metalsmith using some plugins but I can't make metalsmith-layouts and metalsmith-in-place work together. I tried many things and I succeed to make one of them work but never the second using a template engine (for instance handlebars). It seems like metalsmith-layouts doesn't want to read files in .hbs.
I have properly installed handlebars ans jstransform-handlebars (and .hbs files gets properly transformed by metalsmith-in-place but can't make it work with metalsmith layouts ... And this is really annoying).
My goal is to use a layout file in which the content will be rendered using a template engine like handlebars.
Here is my index.js code :
...ANSWER
Answered 2017-Dec-04 at 12:22I finally came to the conclusion that the layout file MUST be a .html file. The content of its html file is processed with the engine specified in the
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install metalsmith-assets
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page