Everyone loves metalsmith's agnostic, dogma free approach to static sites... but it's still nice to see some examples, so this is mine.
metalsmith-webpack
caches webpack output which dramatically cuts down on build time../sync.js
, it's a super minimal implementation that just works. browser-sync takes care of live reloading & dev serverdomain.com/article-name
without the .html
) this is achieved using mimeTypes rather than the hacky everything-in-a-separate-directory approach.There's more detailed information about implementation of different features in /src/articles.
git clone git@github.com:leviwheatcroft/metalsmith-all-the-things.git matt
cd matt
npm i
npm run dev
There's a few dependencies which are not yet available on npm. You can install them directly from github. See src/articles/rogue-packages.md
for details.
MIT
Levi Wheatcroft levi@wht.cr
Version | Tag | Published |
---|---|---|
0.0.1 | latest | 5yrs ago |