Go Static My Friend
summary
Claim: Middleman turns content and data files into a deployable static site and it actually works. It uses Middleman + YAML/JSON data files and front matter built on Sinatra/Rack, renders templates/layouts/partials, and generates individual pages from collections. The build produces static HTML/CSS/JS with gzip, minification and asset hashing to save bandwidth. Deployment uses s3_sync to publish files to Amazon S3 with ACLs and caching headers and the demo updates and publishes successfully.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:31IN THE BEGINNING...
- 1:07STATIC WEB SITES
- 1:58DATASTORE
- 2:49GENERATE STATIC CONTENT
- 4:44TEMPLATING OPTIONS ERb HAML
- 5:59CONFIGURATION DRIVEN config.rb
- 10:48USING LOCAL DATA IN A PAGE
- 15:36EXTENSIONS
- 16:23ASSETS MANAGEMENT • relative assets • asset hash
- 17:02PUBLISHING
- 20:51SETUP DNS • ALIAS for "naked domains" • CNAME is sufficient for sub-domains
- 22:21WRAPPING UP
related talks
19mStatic websites - The Final Frontier
26mJAMStackin’
46mAn Introduction to Static Site Generators for Drupalists and Static Site Show and Tell
41mStatic Sites and Serverless Functions - A Dynamic Combination
42mJamstack, static sites and Azure
04mA static website with React? Really?
14mReact on the Jamstack
44mAre you being servered? - exploring a serverless web
