Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
【CA.ai #3】Google ADKを活用したAI Agent開発と運用知見
harappa80
0
310
sbt 2
xuwei_k
0
300
Cap'n Webについて
yusukebe
0
130
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.2k
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
8
2.8k
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
7.3k
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
140
SwiftUIで本格音ゲー実装してみた
hypebeans
0
380
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
4
870
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.2k
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
9
5.7k
Canon EOS R50 V と R5 Mark II 購入でみえてきた最近のデジイチ VR180 事情、そして VR180 静止画に活路を見出すまで
karad
0
110
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
For a Future-Friendly Web
brad_frost
180
10k
Become a Pro
speakerdeck
PRO
31
5.7k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
KATA
mclloyd
PRO
33
15k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
286
14k
The Invisible Side of Design
smashingmag
302
51k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Agile that works and the tools we love
rasmusluckow
331
21k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
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