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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.4k
React Native × React Router v7 API通信の共通化で考えるべきこと
suguruooki
0
100
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
990
CSC307 Lecture 05
javiergs
PRO
0
500
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
CSC307 Lecture 09
javiergs
PRO
1
840
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
AI & Enginnering
codelynx
0
120
CSC307 Lecture 06
javiergs
PRO
0
690
CSC307 Lecture 10
javiergs
PRO
1
660
CSC307 Lecture 02
javiergs
PRO
1
780
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
Featured
See All Featured
A Tale of Four Properties
chriscoyier
162
24k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
270
Unsuck your backbone
ammeep
671
58k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
The Limits of Empathy - UXLibs8
cassininazir
1
220
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
70
Between Models and Reality
mayunak
1
190
Product Roadmaps are Hard
iamctodd
PRO
55
12k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
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