Static Site generation made fun again!
Luciano Mammino (@loige)
2020-11-17
content & templates
static HTML pages & assets
This is the core of a static site generator!
A programming blog
A recipes website
A movie reviews website
A photo book
An online portfolio
A podcast website
...
And even single-page applications!
I'm Luciano (🇮🇹🍕🍝) 👋
Principal Software Engineer at FabFitFun (Dublin) 👨💻
Lived in Cork for 1 year (2015)! 🍻
Co-Author of Node.js Design Patterns 👉
METALSMITH
A Java API client!
It's easy
It's generally cheap
It can scale easily
It can be more secure
We can build fast websites
We can still use dynamic data
We can still add dynamic features
351 tools listed!
It's written in Node.js
It's so simple that you don't need a "starter"
(but there are many if you want)
Fast & lightweight
Not opinionated
Simple to build incrementally on top of it
Makes me feel productive...
Install + Hello world
Custom config
Templates, frontmatter & Layouts
Live reload
Copying static files
Custom global data
Collection API
Using dynamic data
Example using GitHub actions:
Cover Photo by Anthony Cantin on Unsplash
Icons by Freepik and Zlatko Najdenovski on Pixelbuddha
If you enjoyed this talk, you might also enjoy nodejsdp.link 😛