Skip to content

Commit 4aadec2

Browse files
committed
add twitter bootstrap theme
1 parent eca5de0 commit 4aadec2

File tree

5 files changed

+532
-0
lines changed

5 files changed

+532
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
9+
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10+
<!--[if lt IE 9]>
11+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12+
<![endif]-->
13+
14+
<!-- Le styles -->
15+
<link href="{{ theme_asset_path }}/css/1.4.0/bootstrap.css" rel="stylesheet">
16+
<link href="{{ theme_asset_path }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
17+
18+
<!-- Le fav and touch icons -->
19+
<!-- Update these with your own images
20+
<link rel="shortcut icon" href="images/favicon.ico">
21+
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
22+
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
23+
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
24+
-->
25+
</head>
26+
27+
<body>
28+
29+
<div class="topbar">
30+
<div class="fill">
31+
<div class="container">
32+
<a class="brand" href="/">{{ site.title }}</a>
33+
<ul class="nav">
34+
{% assign pages_list = site.pages %}
35+
{% assign group = 'navigation' %}
36+
{% include helpers/pages_list.html %}
37+
</ul>
38+
</div>
39+
</div>
40+
</div>
41+
42+
<div class="container">
43+
44+
<div class="content">
45+
{{ content }}
46+
</div>
47+
48+
<footer>
49+
<p>&copy; {{ site.author.name }} 2012
50+
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
51+
and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
52+
</p>
53+
</footer>
54+
55+
</div> <!-- /container -->
56+
57+
</body>
58+
</html>

_includes/themes/twitter/page.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="page-header">
2+
<h1>{{ page.title }} <small>Supporting tagline</small></h1>
3+
</div>
4+
5+
<div class="row">
6+
<div class="span14">
7+
{{ content }}
8+
</div>
9+
</div>

_includes/themes/twitter/post.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div class="page-header">
2+
<h1>{{ page.title }} <small>Supporting tagline</small></h1>
3+
</div>
4+
5+
<div class="row">
6+
<div class="span10">
7+
{{ content }}
8+
<hr>
9+
<div class="pagination">
10+
<ul>
11+
{% if page.previous %}
12+
<li class="prev"><a href="{{ page.previous.url }}" title="{{ page.previous.title }}">&larr; Previous</a></li>
13+
{% else %}
14+
<li class="prev disabled"><a>&larr; Previous</a></li>
15+
{% endif %}
16+
<li><a href="/archive.html">Archive</a></li>
17+
{% if page.next %}
18+
<li class="next"><a href="{{ page.next.url }}" title="{{ page.next.title }}">Next &rarr;</a></li>
19+
{% else %}
20+
<li class="next disabled"><a>Next &rarr;</a>
21+
{% endif %}
22+
</ul>
23+
</div>
24+
</div>
25+
26+
<div class="span4">
27+
<h4>Published</h4>
28+
<div class="date"><span>{{ page.date | date_to_long_string }}</span></div>
29+
30+
{% unless page.tags == empty %}
31+
<h4>Tags</h4>
32+
<ul class="tag_box">
33+
{% assign tags_list = page.tags %}
34+
{% include helpers/tags_list.html %}
35+
</ul>
36+
{% endunless %}
37+
</div>
38+
</div>

0 commit comments

Comments
 (0)