A working example of a static Metalsmith blog, suitable for use as a template for your own site.
https://borisovg.github.io/metalsmith-blog-example-demo/
- Blog posts (without comments)
- Stand alone pages
- Pug templates
- Minified HTML and CSS (using SASS and Bootstrap 5)
- Sitemap
- Built as a static site using Metalsmith :)
git clone https://github.com/borisovg/metalsmith-blog-example.git my-site
cd my-site
rm -r .git
npm install
Edit the variables at the top of build.mjs.
Edit the content in src/ and build the site:
node build.mjs
Copy the contents of public/ to your web hosting server.