Cleaned out public from repository, updated gitignore, added syntax

highlighting tests, improved syntax highlighting and styling of pre
blocks.
Overriding dynamic gist styling.
Added a plugin for pygments caching which should speed things up
terrifically.
added ender.js as a lightweight way of scripting the DOM, events, etc.
Some general typography and semantic html improvements.
This commit is contained in:
Brandon Mathis
2011-05-30 00:30:16 -04:00
parent c7d5365f81
commit 8698a276f9
74 changed files with 6018 additions and 1992 deletions

View File

@ -0,0 +1,19 @@
---
layout: default
---
<div id="content">
<div class="post">
<h1 class="post-title">{{ page.month | date_to_month }} {{ page.year }}</h1>
<p class="lead">Posts from {{ page.month | date_to_month }}, {{ page.year }}</p>
<ul>
{% for d in (1..31) reversed %}
{% if page.collated_posts[page.year][page.month][d] %}
{% for p in page.collated_posts[page.year][page.month][d] reversed %}
<li><a href='{{ p.url }}'>{{ p.title }}</a></li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
</div>

View File

@ -0,0 +1,25 @@
---
layout: default
---
<div id="content">
<div class="post">
<h1 class="post-title">{{ page.year }}</h1>
<p class="lead">Posts from the year {{ page.year }}</p>
{% for m in (1..12) reversed %}
{% if page.collated_posts[page.year][m] %}
<h3>{{ m | date_to_month }}</h3>
{% for d in (1..31) reversed %}
{% if page.collated_posts[page.year][m][d] %}
{% for p in page.collated_posts[page.year][m][d] reversed %}
<div>
<strong>{{ p.date | date: "%d" }}</strong>
<a href='{{ p.url }}'>{{ p.title }}</a>
</div>
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</div>
</div>

View File

@ -1,9 +1,6 @@
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]-->
<!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="no-js ie8" lang="en"><![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" manifest="default.appcache?v=1" lang="en"><!--<![endif]-->
---
permalink: /blog/:year/:month/:day/:title
---
{% include head.html %}
<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.no_sidebar %} class="no-sidebar" {% endif %}>
<header><div>{% include header.html %}</div></header>
@ -18,9 +15,9 @@
</div>
<footer><div>{% include footer.html %}</div></footer>
<!--[if (lt IE 9) & (!IEMobile)]>
<script src="javascripts/libs/DOMAssistantCompressed-2.8.js"></script>
<script src="javascripts/libs/selectivizr-1.0.1.js"></script>
<script src="javascripts/libs/respond.min.js"></script>
<script src="javascripts/libs/ie/DOMAssistantCompressed-2.8.js"></script>
<script src="javascripts/libs/ie/selectivizr-1.0.1.js"></script>
<script src="javascripts/libs/ie/respond.min.js"></script>
<![endif]-->
</body>
</html>

View File

@ -1,5 +1,8 @@
---
layout: default
no_title_link: true
permalink: pretty
single: true
---
<article>

View File

@ -1,5 +1,6 @@
---
layout: default
single: true
---
<article>