~/talk

Why I love Jekyll Data Files

Talkat JekyllConf 2019 · on Sunday, 2019-09-22· [developer-experience]
slides:none on file

Explains how an event site is refactored to use three Jekyll data files (YAML) and Liquid to replace copy paste and hardcoded markup so new meetups and repeated speakers update automatically the meetup index references speakers and videos via site.data.meetups[...] keys and loops, uses assign/capture to shorten long lookups and build conditional CSS URLs, relies on Liquid quirks like truthiness, nil and lack of a not operator, and uses limit/offset to pick latest and previous posts; implementation runs on GitHub Pages with zero budget and works.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 0:44What are Jekyll data files
  3. 2:56Basic data file usage
  4. 5:02Liquid templating basics
  5. 6:04Truthiness in Liquid
  6. 7:09Control flow in Liquid
  7. 9:38Iterators in Liquid
  8. 13:08Custom variables in Liquid
  9. 14:11Refactoring Singapore CSS
  10. 16:42Data file structure planning
  11. 18:51Handling missing data
  12. 20:16Loop object attributes
  13. 20:59Using capture in templates
  14. 21:40Conditional CSS with Liquid
  15. 23:06Site maintenance with data
  16. 24:31YAML syntax pitfalls
  17. 25:14Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.