From 8698a276f937cb1cd6f67f7f213e2ea438500d7e Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 30 May 2011 00:30:16 -0400 Subject: 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. --- source/_includes/article.html | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'source/_includes/article.html') diff --git a/source/_includes/article.html b/source/_includes/article.html index 92f06720..3481cf21 100644 --- a/source/_includes/article.html +++ b/source/_includes/article.html @@ -1,18 +1,27 @@
-

{{ page.title }}

-

- {% if site.author or site.author == page.author %} - - {% elsif page.author %} - + {% if index %} +

{{ page.title }}

+ {% else %} +

{{ page.title }}

+ {% endif %} + {% unless page.nometa %} + {% if page.author %} + {% assign author = page.author %} + {% else %} + {% assign author = site.author %} {% endif %} - {% if page.date %} - - {% endif %} - {% if page.updated %} - - {% endif %} -

+

+ {% if author %} + + {% endif %} + {% if page.date %} + + {% endif %} + {% if page.updated %} + + {% endif %} +

+ {% endunless %}
{% if index %}
{{ content | exerpt(content, page.url, 'Continue reading »') | smart_quotes }}
-- cgit v1.2.1