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 lightning talk @ Belfast Ruby
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Coby Chapple
October 01, 2013
Programming
200
6
Share
Jekyll lightning talk @ Belfast Ruby
Presented at Belfast Ruby (
http://www.belfastruby.com/
) on October 1st, 2013.
Coby Chapple
October 01, 2013
More Decks by Coby Chapple
See All by Coby Chapple
Product thinking with JTBD
cobyism
0
250
GitHub Flow for Designers
cobyism
1
390
Asynchronous Communication For The Win!
cobyism
0
330
GitHub Flow — AWS Summit Tokyo 2015
cobyism
16
4.4k
Belfast Ruby - Interesting things from the GitHub codebase
cobyism
3
370
Static Sites with Jekyll and GitHub Pages
cobyism
9
1.6k
How design happens at GitHub (Osaka, 2014)
cobyism
0
85
How GitHub Works (GitHub Kaigi, Tokyo, 2014)
cobyism
93
35k
Remote by default (BACON 2014)
cobyism
3
1.5k
Other Decks in Programming
See All in Programming
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
3
280
おれのAgentic Coding 2026/03
tsukasagr
1
150
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
220
tRPCの概要と少しだけパフォーマンス
misoton665
2
210
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
290
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
140
実践CRDT
tamadeveloper
0
570
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
200
AI-DLC Deep Dive
yuukiyo
9
4.2k
Server-Side Kotlin LT大会 vol.18 [Kotlin-lspの最新情報と Neovimのlsp設定例]
yasunori0418
1
150
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
130
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
800
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Between Models and Reality
mayunak
3
270
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
250
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The SEO Collaboration Effect
kristinabergwall1
1
420
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
We Are The Robots
honzajavorek
0
220
Transcript
A talk by @cobyism
@cobyism
Jekyll is a static site generator.
Jekyll is popular.
Jekyll understands HTML, Markdown, Liquid templates.
Jekyll gives you static HTML.
Jekyll understands permalinks, categories, tags, pagination, …
Jekyll is great for sites that don’t need server-side logic.
Installation gem install jekyll
New site jekyll new sitename
Running jekyll build
Watching jekyll serve
YAML Frontmaer --- foo: bar --- <p>{{ foo }}.</p> example.html
YAML Frontmaer <p>bar.</p> _site/example.html
Layouts & Includes {% include header.html %} {{ content }}
{% include footer.html %} _layouts/page.html
Layouts & Includes --- layout: page --- Look ma, I’m
content! index.html
Layouts & Includes --- layout: page --- Look ma, I’m
content! index.html
Blogging --- title: Article name --- Look ma, I’m content!
_posts/2013-10-01-article-name.html
Blogging {% for post in site.posts %} <a href=“{{ post.url
}}”> {{ post.title }} </a> {% endfor %} index.html
Blogging for hackers {% highlight ruby linenos %} def foo
puts 'foo' end {% endhighlight %}
Blogging for hackers {% gist 5555251 %}
GitHub Pages is free hosting powered by Jekyll.
GitHub Pages Gem gem install github-pages
Jekyll tricks.
Deploying a locally built site to GitHub pages. https://gist.github.com/cobyism/4730490
Jekyll Authentication
Jekyll testing with Travis CI. language: ruby rvm: - 1.9.3
script: bundle exec jekyll build install: bundle install .travis.yml
Jekyll redirect layout. <meta http-equiv="refresh" content="0;url={{ page.redirect_url }}"> _layouts/redirect.html ---
layout: redirect redirect_url: https://github.com --- somepage.html
Demo https://github.com/cobyism/jekyll-demo
Jekyll has docs. http://jekyllrb.com