Talk by Sam Ellis - @elliz
For #IW Devs 16 - 1 October 2013
~ $ gem install jekyll
~ $ jekyll new myblog
~ $ cd myblog
~/myblog $ jekyll serve
# => Now browse to http://localhost:4000
$ gem install jekyll
Ruby + DK
Jekyll
RDiscount
Python - pygments
More information at www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html.
$ jekyll build
$ jekyll serve
.
├── _config.yml
├── _drafts
| ├── begin-with-the-crazy-ideas.textile
| └── on-simplicity-in-technology.markdown
├── _includes
| ├── footer.html
| └── header.html
├── _layouts
| ├── default.html
| └── post.html
├── _posts
| ├── 2007-10-29-why-every-programmer-should-play-nethack.textile
| └── 2009-04-26-barcamp-boston-4-roundup.textile
├── _site
└── index.html
in _config.yaml
name: "IWDevs 16 - Jekyll"
description: "Introduction to Jekyll talk"
baseurl: /
pygments: false
future: false
Available in-page {{ site.VALUE }}
Any file with front-matter will get processed by Jekyll
---
layout: post
title: Blogging Like a Hacker
---
Available in-page {{ page.VALUE }}
In _posts folder
Optionally in CATEGORY/_posts folder
YYYY-MM-DD-title-of-post.ext
e.g.
2013-10-01-hello-world.md
View actual posts ...
<ul>
{% for post in site.posts %}
<li>
<a href="">{{ post.title }}</a>
- {{ post.excerpt }}
</li>
{% endfor %}
</ul>
Hello there IW Devs
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer at aliquam eros. Fusce ligula dui.
Cras ligula risus, volutpat in nibh at, rutrum mollis leo.
gh-pages Branch -> USER.github.io/REPO
USER.github.io Repository -> USER.github.io
CNAME file for custom domains -> www.USER.com
Introduction
Installation
Configuration
Posts
Deployment