Skip to content

Commit

Permalink
add twitter bootstrap theme
Browse files Browse the repository at this point in the history
  • Loading branch information
plusjade committed Jan 13, 2012
1 parent eca5de0 commit 4aadec2
Show file tree
Hide file tree
Showing 5 changed files with 532 additions and 0 deletions.
58 changes: 58 additions & 0 deletions _includes/themes/twitter/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
<meta name="author" content="{{ site.author.name }}">

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Le styles -->
<link href="{{ theme_asset_path }}/css/1.4.0/bootstrap.css" rel="stylesheet">
<link href="{{ theme_asset_path }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">

<!-- Le fav and touch icons -->
<!-- Update these with your own images
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
-->
</head>

<body>

<div class="topbar">
<div class="fill">
<div class="container">
<a class="brand" href="/">{{ site.title }}</a>
<ul class="nav">
{% assign pages_list = site.pages %}
{% assign group = 'navigation' %}
{% include helpers/pages_list.html %}
</ul>
</div>
</div>
</div>

<div class="container">

<div class="content">
{{ content }}
</div>

<footer>
<p>&copy; {{ site.author.name }} 2012
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
</p>
</footer>

</div> <!-- /container -->

</body>
</html>
9 changes: 9 additions & 0 deletions _includes/themes/twitter/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="page-header">
<h1>{{ page.title }} <small>Supporting tagline</small></h1>
</div>

<div class="row">
<div class="span14">
{{ content }}
</div>
</div>
38 changes: 38 additions & 0 deletions _includes/themes/twitter/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<div class="page-header">
<h1>{{ page.title }} <small>Supporting tagline</small></h1>
</div>

<div class="row">
<div class="span10">
{{ content }}
<hr>
<div class="pagination">
<ul>
{% if page.previous %}
<li class="prev"><a href="{{ page.previous.url }}" title="{{ page.previous.title }}">&larr; Previous</a></li>
{% else %}
<li class="prev disabled"><a>&larr; Previous</a></li>
{% endif %}
<li><a href="/archive.html">Archive</a></li>
{% if page.next %}
<li class="next"><a href="{{ page.next.url }}" title="{{ page.next.title }}">Next &rarr;</a></li>
{% else %}
<li class="next disabled"><a>Next &rarr;</a>
{% endif %}
</ul>
</div>
</div>

<div class="span4">
<h4>Published</h4>
<div class="date"><span>{{ page.date | date_to_long_string }}</span></div>

{% unless page.tags == empty %}
<h4>Tags</h4>
<ul class="tag_box">
{% assign tags_list = page.tags %}
{% include helpers/tags_list.html %}
</ul>
{% endunless %}
</div>
</div>
Loading

0 comments on commit 4aadec2

Please sign in to comment.