Skip to content

Commit c096894

Browse files
committed
adding left theme
1 parent d506cf6 commit c096894

24 files changed

+698
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_site

404.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: layout
3+
title: "Not Found"
4+
---
5+
6+
<section class="content">
7+
<h1>Not Found</h1>
8+
9+
<p>Sorry! Couldn't find that page. Bummer.</p>
10+
</section>

CNAME

Whitespace-only changes.

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll-watch"
4+
gem "jekyll-sitemap"
5+
gem "rdiscount"

Gemfile.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
celluloid (0.17.1.2)
5+
timers (~> 4.0.0)
6+
ffi (1.9.10)
7+
hitimes (1.2.2)
8+
jekyll-sitemap (0.8.1)
9+
jekyll-watch (1.2.1)
10+
listen (~> 2.7)
11+
listen (2.10.1)
12+
celluloid (~> 0.16.0)
13+
rb-fsevent (>= 0.9.3)
14+
rb-inotify (>= 0.9)
15+
rb-fsevent (0.9.5)
16+
rb-inotify (0.9.5)
17+
ffi (>= 0.5.0)
18+
rdiscount (2.1.8)
19+
timers (4.0.1)
20+
hitimes
21+
22+
PLATFORMS
23+
ruby
24+
25+
DEPENDENCIES
26+
jekyll-sitemap
27+
jekyll-watch
28+
rdiscount

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) Zach Holman, http://zachholman.com
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Left
2+
3+
Left is a clean, whitespace-happy layout for [Jekyll](https://github.com/mojombo/jekyll).
4+
5+
This is designed to be an easy layout to modify for your own blog. It was
6+
extracted from [zachholman.com](http://zachholman.com/), which means it was
7+
battle-hardened from years of posting serious blog posts about emoji and swear
8+
words.
9+
10+
You can see it live right here: <http://zachholman.com/left/>
11+
12+
![Left](http://cl.ly/image/3S2r1p2C0E2B/content)
13+
14+
## Installation
15+
16+
- [Fork this repository](https://github.com/holman/left/fork)
17+
- Clone it: `git clone https://github.com/YOUR-USER/left`
18+
- Install ruby things: `bundle install` (if this doesn't work, look into [installing Bundler](http://bundler.io))
19+
- Run the jekyll server: `jekyll serve -w`
20+
21+
You should have a server up and running locally at <http://localhost:4000>.
22+
23+
## Customization
24+
25+
Next you'll want to change a few things. Most of them can be changed directly in
26+
[_config.yml](https://github.com/holman/left/blob/gh-pages/_config.yml). That's
27+
where we'll pull your name, Twitter username, and things like that.
28+
29+
There's a few other places that you'll want to change, too:
30+
31+
- [CNAME](https://github.com/holman/left/blob/gh-pages/CNAME): If you're using
32+
this on GitHub Pages with a custom domain name, you'll want to change this
33+
to be the domain you're going to use. All that should be in here is a
34+
domain name on the first line and nothing else (like: `example.com`).
35+
- [favicon.ico](https://github.com/holman/left/blob/gh-pages/favicon.ico): This
36+
is a smaller version of my gravatar for use as the icon in your browser's
37+
address bar. You should change it to whatever you'd like.
38+
- [apple-touch-icon.png](https://github.com/holman/left/blob/gh-pages/apple-touch-icon.png):
39+
Again, this is my gravatar, and it shows up in iOS and various other apps
40+
that use this file as an "icon" for your site.
41+
42+
## Deployment
43+
44+
Left is designed to be deployed to [GitHub Pages](http://pages.github.com). It
45+
uses [repository metadata](https://help.github.com/articles/repository-metadata-on-github-pages)
46+
to generate some of your content, like your GitHub URL and avatar information (so you
47+
might not actually see it locally until you push it up to Pages).
48+
49+
All you should have to do is rename your repository on GitHub to be
50+
`username.github.com`. Since everything is on the `gh-pages` branch, you
51+
should be able to see your new site at <http://username.github.io>.
52+
53+
## Licensing
54+
55+
This is [MIT](https://github.com/holman/left/blob/gh-pages/LICENSE) with no
56+
added caveats, so feel free to use this on your site without linking back to
57+
me or using a disclaimer or anything silly like that.
58+
59+
If you'd like give me credit somewhere on your blog or tweet a shout out to
60+
[@holman](https://twitter.com/holman), well hey, I'll take it.

_config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
markdown: rdiscount
2+
permalink: /posts/:title
3+
rdiscount:
4+
extensions: [smart]
5+
6+
gems:
7+
- jekyll-sitemap
8+
9+
name: Data Workshops
10+
url: http://zachholman.com
11+
description: A list of our workshops.
12+
twitter: jt14den

_includes/head.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<title>
4+
{% if page.title %}
5+
{{ page.title }} &ndash;
6+
{% endif %}
7+
{{ site.name }}
8+
</title>
9+
10+
<meta name="author" content="{{ site.name }}" />
11+
<meta name="description" content="{{ site.description }}" />
12+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
13+
14+
<link rel="alternate" type="application/rss+xml" href="/atom.xml" />
15+
16+
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" />
17+
<link rel="stylesheet" href="{{ site.github.url }}/css/base.css" type="text/css" media="screen, projection" />
18+
<link rel="stylesheet" href="{{ site.github.url }}/css/pygments.css" type="text/css" />
19+
<link media="only screen and (max-device-width: 480px)" href="{{ site.github.url }}/css/mobile.css" type="text/css" rel="stylesheet" />
20+
<link media="only screen and (device-width: 768px)" href="{{ site.github.url }}/css/mobile.css" type="text/css" rel="stylesheet" />
21+
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>
22+
<link rel="apple-touch-icon" href="{{ site.github.url }}/apple-touch-icon.png" />
23+
24+
<script type="text/javascript" src="{{ site.github.url }}/js/application.js"></script>
25+
</head>

_includes/sidebar.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<section class="sidebar">
2+
<a href="/">
3+
<img src="{{ site.github.owner_gravatar_url }}?s=150" height="75" width="75" class="avatar" />
4+
</a>
5+
6+
<section class="name">
7+
<a href="/">
8+
<span id="fname">{{ site.name|split:' '|first }}</span>
9+
<span id="lname">{{ site.name|split:' '|last }}</span>
10+
</a>
11+
</section>
12+
13+
<section class="meta">
14+
<a href="{{ site.github.owner_url }}" target="_blank"><i class="fa fa-github"></i></a>
15+
<a href="https://twitter.com/{{ site.twitter }}" target="_blank"><i class="fa fa-twitter"></i></a>
16+
<a href="/atom.xml"><i class="fa fa-rss"></i></a>
17+
</section>
18+
19+
<section class="sections">
20+
<ul>
21+
<li><a href="/about.html">about</a></li>
22+
<li><a href="/">posts</a></li>
23+
</ul>
24+
</section>
25+
</section>

0 commit comments

Comments
 (0)