Skip to content

Commit 410b133

Browse files
committed
remove setup, move themes
1 parent 54d66f9 commit 410b133

File tree

12 files changed

+68
-93
lines changed

12 files changed

+68
-93
lines changed

_config.yml

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ permalink: /:categories/:year/:month/:day/:title
22

33
exclude: ["README.md"]
44

5+
markdown: kramdown
6+
kramdown:
7+
input: GFM
8+
hard_wrap: false
9+
html_to_native: true
10+
11+
safe: true
12+
lsi: false
13+
highlighter: pygments
14+
515
# Themes are encouraged to use these universal variables
616
# so be sure to set them if your theme uses them.
717
#

_includes/JB/setup

-10
This file was deleted.

_includes/JB/tags_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Usage:
2222
{% else %}
2323
{% if tags_list.first[0] == null %}
2424
{% for tag in tags_list %}
25-
<li><a href="{{ site.JB.tags_path }}#{{ tag | cgi_escape }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li>
25+
<li><a href="{{ site.JB.tags_path }}#{{ tag | handleize }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li>
2626
{% endfor %}
2727
{% else %}
2828
{% for tag in tags_list %}
29-
<li><a href="{{ site.JB.tags_path }}#{{ tag[0] | cgi_escape }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li>
29+
<li><a href="{{ site.JB.tags_path }}#{{ tag[0] | handleize }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li>
3030
{% endfor %}
3131
{% endif %}
3232
{% endif %}

_includes/themes/ostrich/post.html renamed to _includes/partials/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ <h1>{{ page.title }}</h1>
2929
<div class="comments">
3030
{% include services/disqus.html %}
3131
</div>
32-
</article>
32+
</article>

_includes/themes/ostrich/default.html

-65
This file was deleted.

_includes/themes/ostrich/page.html

-4
This file was deleted.

_includes/themes/ostrich/settings.yml

-2
This file was deleted.

_layouts/default.html

+48-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
1-
---
2-
theme :
3-
name : ostrich
4-
---
5-
{% include themes/ostrich/default.html %}
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>{{ page.title }}</title>
6+
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
7+
<meta name="author" content="{{ site.author.name }}">
8+
<meta name="viewport" content="width=820">
9+
<link href="/feed.atom" rel="alternate" type="application/atom+xml">
10+
<link href="/assets/css/style.css" rel="stylesheet" type="text/css" media="all">
11+
<link href="/assets/css/shCoreMochi.css" rel="stylesheet" type="text/css" media="all">
12+
</head>
13+
<body>
14+
<header class="site">
15+
<div class="centered-container">
16+
<div class="brand"><a class="brand" href="/">{{ site.title }}</a></div>
17+
<div class="tagline"><span class="tagline">Bob Ippolito (<a href="http://twitter.com/etrepum" target="_blank" title="etrepum">@etrepum</a>) on Haskell, Python, Erlang, JavaScript, etc.</span></div>
18+
</div>
19+
</header>
20+
<div class="centered-container">
21+
<div class="content">
22+
{{ content }}
23+
</div>
24+
</div>
25+
<footer>
26+
<div class="centered-container">
27+
<ul class="nav">
28+
{% assign pages_list = site.pages %}
29+
{% assign group = 'navigation' %}
30+
{% include JB/pages_list %}
31+
</ul>
32+
<p>&copy; {{ site.author.name }} 2003-2014
33+
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>.
34+
CSS inspired by <a href="http://www.instapaper.com/" target="_blank">Instapaper</a> and <a href="http://www.zeldman.com/" target="_blank">Zeldman</a>.
35+
I can be found at: bob<span class="email-domain">redivi.com</span>,
36+
<a href="http://twitter.com/etrepum" title="@etrepum on Twitter" class="twitter">@etrepum</a>,
37+
<a href="http://www.linkedin.com/in/bobippolito" title="bobippolito on LinkedIn" class="linkedin">LinkedIn</a>,
38+
<a href="http://github.com/etrepum" title="etrepum on GitHub" class="github">GitHub</a>,
39+
<a href="http://lanyrd.com/profile/etrepum/" title="etrepum on Lanyrd" class="lanyrd">Lanyrd</a>,
40+
<a href="https://www.facebook.com/etrepum" title="etrepum on Facebook" class="facebook">Facebook</a>.
41+
</p>
42+
</div>
43+
</footer>
44+
{% include services/google_analytics.html %}
45+
<script src="/assets/js/jquery-1.7.2.min.js"></script>
46+
<script src="/assets/js/main.js"></script>
47+
</body>
48+
</html>

_layouts/page.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
22
layout: default
33
---
4-
{% include themes/ostrich/page.html %}
4+
<article class="page {% if page.class %}{{ page.class }}{% endif %}">
5+
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
6+
{{ content }}
7+
</article>

_layouts/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
layout: default
33
---
4-
{% include themes/ostrich/post.html %}
4+
{% include partials/post.html %}

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
---
55
{% assign page = site.posts.first %}
66
{% assign content = page.content %}
7-
{% include themes/ostrich/post.html %}
7+
{% include partials/post.html %}

tags.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</ul>
1212

1313
{% for tag in site.tags %}
14-
<h2 id="{{ tag[0] | cgi_escape }}-ref">{{ tag[0] }}</h2>
14+
<h2 id="{{ tag[0] | handleize }}-ref">{{ tag[0] }}</h2>
1515
<ul>
1616
{% assign pages_list = tag[1] %}
1717
{% include JB/pages_list %}

0 commit comments

Comments
 (0)