~/talk

Go Static My Friend

Talkat Rocky Mountain Ruby 2013 · 2013-09-25..09-27· [ruby, pwa]
slides:none on file

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

  1. 0:00Start
  2. 0:31IN THE BEGINNING...
  3. 1:07STATIC WEB SITES
  4. 1:58DATASTORE
  5. 2:49GENERATE STATIC CONTENT
  6. 4:44TEMPLATING OPTIONS ERb HAML
  7. 5:59CONFIGURATION DRIVEN config.rb
  8. 10:48USING LOCAL DATA IN A PAGE
  9. 15:36EXTENSIONS
  10. 16:23ASSETS MANAGEMENT • relative assets • asset hash
  11. 17:02PUBLISHING
  12. 20:51SETUP DNS • ALIAS for "naked domains" • CNAME is sufficient for sub-domains
  13. 22:21WRAPPING UP
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.