metalsmith | An extremely simple , pluggable static site generator | Static Site Generator library

 by   segmentio JavaScript Version: Current License: Non-SPDX

kandi X-RAY | metalsmith Summary

kandi X-RAY | metalsmith Summary

metalsmith is a JavaScript library typically used in Web Site, Static Site Generator, Nodejs, NPM applications. metalsmith has no bugs, it has no vulnerabilities and it has medium support. However metalsmith has a Non-SPDX License. You can install using 'npm i zcesmith' or download it from GitHub, npm.

An extremely simple, pluggable static site generator. In Metalsmith, all of the logic is handled by plugins. You simply chain them together. Here's what the simplest blog looks like... ...but what if you want to get fancier by hiding your unfinished drafts and using custom permalinks? Just add plugins...

            kandi-support Support

              metalsmith has a medium active ecosystem.
              It has 7650 star(s) with 656 fork(s). There are 114 watchers for this library.
              It had no major release in the last 6 months.
              There are 42 open issues and 168 have been closed. On average issues are closed in 82 days. There are 16 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of metalsmith is current.

            kandi-Quality Quality

              metalsmith has 0 bugs and 0 code smells.

            kandi-Security Security

              metalsmith has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              metalsmith code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              metalsmith has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              metalsmith releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.
              metalsmith saves you 176 person hours of effort in developing the same functionality from scratch.
              It has 577 lines of code, 0 functions and 42 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of metalsmith
            Get all kandi verified functions for this library.

            metalsmith Key Features

            No Key Features are available at this moment for metalsmith.

            metalsmith Examples and Code Snippets

            No Code Snippets are available at this moment for metalsmith.

            Community Discussions


            Metalsmith Layouts - No Files to Process
            Asked 2020-May-08 at 19:05

            I tried to get layouts working following the docs and this example and I can't get layouts to work. I saw that in a github post that I needed to also install jstransformers (which I did) and the handlebars version as well.

            The layout docs give an example of how to do it with the CLI but I can't see where I'm going wrong. I have tried a variety of options for layouts, including leaving them blank, but nothing seems to work.




            Answered 2018-Jul-03 at 22:55

            Rename article.html to article.hbs and change the default layout accordingly.



            BrowserRouter vs HashRouter
            Asked 2019-Dec-16 at 07:43

            below is my router.js



            Answered 2019-Dec-12 at 07:28


            Bundled assets seem to have a wrong path when using webpack's file-loader
            Asked 2019-Nov-26 at 18:34

            I am new to Webpack and have a hard time melting it together with metalsmith. Currently I have the following folder structure:



            Answered 2019-Nov-26 at 18:34

            Figured it out by myself. This publicPath: '/assets/' should actually be publicPath: '../assets/' and then the asset paths are correct.



            Metalsmith-collection not finding markdown files
            Asked 2019-Aug-06 at 22:29

            I have a static website using handlebars and metalsmith. I can create a collection called carriers from my metalsmith config file but the plugin pattern ignores the markdown files so carriers is always empty

            My JS file has metalsmith config as follows



            Answered 2019-Aug-06 at 22:29

            So I got more experience with Metalsmith and now got to know why the markdown files were not available. This is because of the Metalsmith.source('my-directory') did not contain the markdown files and they were in another folder.

            Sadly, I don't have a solution for this because my project was too big to track down with my little experience in Metalsmith. However, the main points that I believe causing the problems and to watch out for are

            1. Internationalization plugin structure is important to keep in mind how it works with other plugins
            2. The order of plugins in the build process (e.g. markdown() must be before layouts()) otherwise you might get an error or unexpected outcomes
            3. The pattern of the collections plugin



            Moleculer-Cli inspired project: how to use EJS instead of Handlebars
            Asked 2019-Jul-18 at 18:42

            I'm trying to create some scaffolding tool to easily start a project the way I want. I like the way how guys from moleculer do it in their

            They use Handlebars so now I can do this in my template (for example the one for package.json):



            Answered 2019-Jul-18 at 18:42

            The moleculer-cli uses consolidate package which supports ejs, as well.

            So, you should change the render variable here: const render = require("consolidate").handlebars.render;



            Is my NODE code not working because im using windows not linux?
            Asked 2019-Mar-05 at 16:19

            I get this error in windows CMD:



            Answered 2019-Mar-05 at 16:19

            Yes it is because you are not using linux.

            Windows has no support for shebangs, which downloadReleases.js uses. You can see it on line 1:



            Metalsmith layouts causes "no files to process" error
            Asked 2019-Feb-12 at 15:50

            I conscientiously followed the tutorial on official community driven docs but failed to compile project on using Handlebars and metalsmith-layouts. "Metalsmith · no files to process" error occurred.

            Here is my directory structure:



            Answered 2019-Feb-12 at 15:50

            This is because metalsmith-layouts uses jstransformers.

            You need to install jstransformer-handlebars in order to fix the error you encountered.

            Run $ npm install --save jstransformer-handlebars and try again.



            creating vue-cli3 project on git-bash
            Asked 2019-Jan-04 at 17:25

            I'm trying to follow . Based on this I tried:



            Answered 2019-Jan-04 at 17:25

            You're trying to use a vue-cli 2 command with a vue-cli 3 version.

            Since version 3, the command to initialize a new project has changed so to do what you want you're not going to write vue init webpack-simple project but instead vue create project



            How natively to set active menu item with metalsmith?
            Asked 2018-Dec-11 at 09:32

            i got a simple static site with a main navigation. working with the metalsmith generator.

            Is there a native way to set current menu items active?

            My current unautomated solution:

            I just made a workaround like following.

            A MD file as source of content with some variables i can define at top:



            Answered 2018-Dec-11 at 09:32

            Use metalsmith-collections to create a collection of pages



            Viewing the metalsmith pipeline JSON
            Asked 2018-Dec-07 at 07:43

            Metalsmith has an inbuilt way of displaying the pipeline contents, namely by using a simple function like:



            Answered 2017-Dec-14 at 14:46

            Would metalsmith-debug-ui help? Nicely formatted React tool…


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install metalsmith

            You can install using 'npm i zcesmith' or download it from GitHub, npm.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone segmentio/metalsmith

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Static Site Generator Libraries


            by gohugoio


            by gatsbyjs


            by jekyll


            by mkdocs


            by 11ty

            Try Top Libraries by segmentio


            by segmentioJavaScript


            by segmentioJavaScript


            by segmentioGo


            by segmentioJavaScript


            by segmentioJavaScript