diff options
author | Jade Dominguez <plusjade@gmail.com> | 2012-01-12 12:53:23 -0800 |
---|---|---|
committer | Jade Dominguez <plusjade@gmail.com> | 2012-01-12 23:17:22 -0800 |
commit | 4aadec216a6799700b13b1bb97733791a573e16a (patch) | |
tree | 00fe1206e57beb26f92aa8bb43a716bee9fd5042 /_includes/themes | |
parent | eca5de05bc87a14f08b9e671ed9e0a69c438b520 (diff) |
add twitter bootstrap theme
Diffstat (limited to '_includes/themes')
-rw-r--r-- | _includes/themes/twitter/default.html | 58 | ||||
-rw-r--r-- | _includes/themes/twitter/page.html | 9 | ||||
-rw-r--r-- | _includes/themes/twitter/post.html | 38 |
3 files changed, 105 insertions, 0 deletions
diff --git a/_includes/themes/twitter/default.html b/_includes/themes/twitter/default.html new file mode 100644 index 0000000..d149bd5 --- /dev/null +++ b/_includes/themes/twitter/default.html @@ -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>© {{ 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> diff --git a/_includes/themes/twitter/page.html b/_includes/themes/twitter/page.html new file mode 100644 index 0000000..7ac6fab --- /dev/null +++ b/_includes/themes/twitter/page.html @@ -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> diff --git a/_includes/themes/twitter/post.html b/_includes/themes/twitter/post.html new file mode 100644 index 0000000..81b0931 --- /dev/null +++ b/_includes/themes/twitter/post.html @@ -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 }}">← Previous</a></li> + {% else %} + <li class="prev disabled"><a>← 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 →</a></li> + {% else %} + <li class="next disabled"><a>Next →</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> |