Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Jekyll 2.1 - What's new in Jekyll 2?
Search
Jesse Herrick
July 20, 2014
Programming
0
32
Jekyll 2.1 - What's new in Jekyll 2?
A presentation on Jekyll 2.1 features for DaytonRB @ littlelines HQ.
Jesse Herrick
July 20, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
5.7k
Node-RED を(HTTP で)つなげる MCP サーバーを作ってみた
highu
0
120
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
220
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
160
Porting a visionOS App to Android XR
akkeylab
0
460
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
2
150
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
150
Claude Code + Container Use と Cursor で作る ローカル並列開発環境のススメ / ccc local dev
kaelaela
9
5.2k
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
290
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
900
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
2
640
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Making the Leap to Tech Lead
cromwellryan
134
9.4k
4 Signs Your Business is Dying
shpigford
184
22k
Docker and Python
trallard
44
3.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Designing Experiences People Love
moore
142
24k
Statistics for Hackers
jakevdp
799
220k
Rails Girls Zürich Keynote
gr2m
95
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
GraphQLとの向き合い方2022年版
quramy
49
14k
Transcript
Jekyll 2.1 What’s new in Jekyll 2?
Jesse Herrick https://jesseherrick.io http://www.sitepoint.com/author/jherrick/ ! @JesseHerrick
Jekyll? Markdown + Liquid Templates = Awesomeness (static site)
Yes, like this. …sort of.
CMS’s are…
Slow
Hackable ! (not the good kind)
11 Million Websites Hacked Per Year
Jekyll is…
Fast Loading Times (lower is better) Homepage Post w/ 1
Picture Post w/ no Picture Average of All 0ms 70ms 140ms 210ms 280ms Dynamic Site Jekyll (static)
Hackable ! (the good kind — but also very secure)
Easy to Deploy https://pages.github.io http://jekyllrb.com/docs/deployment-methods/
We get it. Jekyll is awesome.
So what’s new in Jekyll 2?
Native SCSS/SASS Support _config.yml # other config sass: style: :compressed
--- --- // other styles css/styles.scss
Native CoffeeScript Support js/my-coffee.coffee --- --- ! # coffeescript below
Collections? _config.yml # other config collections: chapters: output: true permalink:
/chapter/:path/ . ├── _chapters │ ├── 1.md │ ├── 2.md │ └── 3.md ├── _config.yml ... other files http://myawesomebook.com/chapter/1 http://myawesomebook.com/chapter/2 http://myawesomebook.com/chapter/3
But wait! There’s more. --- layout: default --- ! <ul>
{% for chapter in site.chapters %} <li> <!-- assuming name in frontmatter --> <a href="{{ chapter.url }}">{{ chapter.name }}</a> </li> {% endfor %} </ul> chapters/index.html
Custom Markdown! _plugins/cool_md.rb require 'jekyll' require 'cool_md_processor' ! class Jekyll::Converters::Markdown::CoolMD
def initialize(config) @site_config = config end ! def convert(content) CoolMD.new(@site_config).to_html(content) # => *MUST* return the rendered HTML as a string end end
Let’s recap. • Jekyll rocks. • It’s better than your
CMS. • It’s fast. • It’s super hackable. (yes, the good kind) • It has great docs.
Questions? Also, http://jekyllrb.com is your best friend. @jesseherrick · jesseherrick.io