Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhulihan committed Jul 14, 2012
0 parents commit f9d3f49
Show file tree
Hide file tree
Showing 19 changed files with 8,040 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
@@ -0,0 +1,11 @@
This is a theme for Jekyll + Jekyll-Bootstrap. It is built on top of [Twitter Bootstrap](http://twitter.github.com/bootstrap/).

## Prerequisites

This theme uses SCSS, so make sure your jekyll site is using a proper [SCSS plugin](https://gist.github.com/960150).

## Installation

```sh
rake theme:install git="https://github.com/dhulihan/hooligan.git"
```
60 changes: 60 additions & 0 deletions _includes/themes/hooligan/default.html
@@ -0,0 +1,60 @@
<!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 }}">

<!-- 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]-->

<script src="{{ ASSET_PATH }}/bootstrap/js/bootstrap.min.js"></script>
<link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">

<link href="{{ ASSET_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
<link href="{{ ASSET_PATH }}/css/pygments.css" rel="stylesheet" type="text/css" media="all">

<!-- 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="navbar">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
<ul class="nav">
{% assign pages_list = site.pages %}
{% assign group = 'navigation' %}
{% include JB/pages_list %}
</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://github.com/dhulihan/hooligan" target="_blank">The Hooligan Theme</a>
</p>
</footer>

</div> <!-- /container -->
{% include JB/analytics %}
</body>
</html>
11 changes: 11 additions & 0 deletions _includes/themes/hooligan/page.html
@@ -0,0 +1,11 @@
<div class="page-header-wrapper">
<div class="page-header">
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
</div>
</div>

<div class="row">
<div class="span12">
{{ content }}
</div>
</div>
43 changes: 43 additions & 0 deletions _includes/themes/hooligan/post.html
@@ -0,0 +1,43 @@
<div class="page-header">
<h1>{{ page.title }}
{% if page.tagline %}
<small>{{ page.tagline }}</small></h1>
{% endif %}
</div>

<div class="row">
<div class="span8">
{{ content }}
<hr>
<div class="pagination">
<ul>
{% if page.previous %}
<li class="prev"><a href="{{ BASE_PATH }}{{ 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="{{ BASE_PATH }}{{ site.JB.archive_path }}">Archive</a></li>
{% if page.next %}
<li class="next"><a href="{{ BASE_PATH }}{{ page.next.url }}" title="{{ page.next.title }}">Next &rarr;</a></li>
{% else %}
<li class="next disabled"><a>Next &rarr;</a>
{% endif %}
</ul>
</div>
<hr>
{% include JB/comments %}
</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 JB/tags_list %}
</ul>
{% endunless %}
</div>
</div>
2 changes: 2 additions & 0 deletions _includes/themes/hooligan/settings.yml
@@ -0,0 +1,2 @@
theme :
name : hooligan

0 comments on commit f9d3f49

Please sign in to comment.