A setup to get you up-and-running with Metalsmith. Includes offline-support.
- Install dependencies:
npm install
- Run the build
npm start
- Son of a gun, we're done! Your site is now in the
/dist
directory.
This project puts the following to good use:
- metalsmith-markdown for writing content fast
- metalsmith-drafts for saving work for later
- metalsmith-collections for navigation
- metalsmith-permalinks for clean links
- metalsmith-layouts for reusable template parts
- metalsmith-sitemap for them SEO gains
- Handlebars because c'mon
- moment.js for formatting blog post dates
- uglifyjs to minify our scripts
- cleancss to minify our styles
- postcss-cli to never prefix anything again!
- Tests