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/_layouts/archive_monthly.html | 19 +++++++++++++++++++ source/_layouts/archive_yearly.html | 25 +++++++++++++++++++++++++ source/_layouts/default.html | 15 ++++++--------- source/_layouts/page.html | 3 +++ source/_layouts/post.html | 1 + 5 files changed, 54 insertions(+), 9 deletions(-) create mode 100644 source/_layouts/archive_monthly.html create mode 100644 source/_layouts/archive_yearly.html (limited to 'source/_layouts') diff --git a/source/_layouts/archive_monthly.html b/source/_layouts/archive_monthly.html new file mode 100644 index 00000000..85ada6d8 --- /dev/null +++ b/source/_layouts/archive_monthly.html @@ -0,0 +1,19 @@ +--- +layout: default +--- +
+
+

{{ page.month | date_to_month }} {{ page.year }}

+

Posts from {{ page.month | date_to_month }}, {{ page.year }}

+
    + {% 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 %} +
  • {{ p.title }}
  • + {% endfor %} + {% endif %} + {% endfor %} +
+
+
+ diff --git a/source/_layouts/archive_yearly.html b/source/_layouts/archive_yearly.html new file mode 100644 index 00000000..dabebebd --- /dev/null +++ b/source/_layouts/archive_yearly.html @@ -0,0 +1,25 @@ +--- +layout: default +--- +
+
+

{{ page.year }}

+

Posts from the year {{ page.year }}

+ {% for m in (1..12) reversed %} + {% if page.collated_posts[page.year][m] %} +

{{ m | date_to_month }}

+ {% 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 %} +
+ {{ p.date | date: "%d" }} + {{ p.title }} +
+ {% endfor %} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} +
+
+ diff --git a/source/_layouts/default.html b/source/_layouts/default.html index f69043b7..06fdbd77 100644 --- a/source/_layouts/default.html +++ b/source/_layouts/default.html @@ -1,9 +1,6 @@ - - - - - - +--- +permalink: /blog/:year/:month/:day/:title +--- {% include head.html %}
{% include header.html %}
@@ -18,9 +15,9 @@ diff --git a/source/_layouts/page.html b/source/_layouts/page.html index 3b568349..88d6e13a 100644 --- a/source/_layouts/page.html +++ b/source/_layouts/page.html @@ -1,5 +1,8 @@ --- layout: default +no_title_link: true +permalink: pretty +single: true ---
diff --git a/source/_layouts/post.html b/source/_layouts/post.html index 3b568349..d2c87ce3 100644 --- a/source/_layouts/post.html +++ b/source/_layouts/post.html @@ -1,5 +1,6 @@ --- layout: default +single: true ---
-- cgit v1.2.1