Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

netliferesearch/starter-metalsmith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metalsmith starter

Netlife Research Metalsmith starter for static site generator.

Install the package: npm i starter-metalsmith

Require and run like this:

var metalsmith = require('starter-metalsmith');
metalsmith.run('handlebars');`

Template language

These language engine options are available

metalsmith.run('option')

Changing paths

If you want to change paths for Metalsmith, you pass an object to the extendConfig. This config is merged into the default config and will override the override properties with the same name in the default config.

metalsmith.extendConfig({
    src: {
        content: 'your/path',
        layout: 'your/path',
        partials: 'your/path',
    },
    watch: 'your/path',
    dist: 'your/path'
});

Dependencies

  • Metalsmith
  • Metalsmith layout
    • Handlebars
  • Metalsmith markdown
  • Metalsmith watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published