From aa230616241321ca9c4b8f4202d045c829527618 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Tue, 7 Jun 2011 16:12:46 -0400 Subject: Added themes directory, improved javascript load and minification. --- .../classic/source/_layouts/archive_monthly.html | 19 ++++++++++++++++ themes/classic/source/_layouts/archive_yearly.html | 25 +++++++++++++++++++++ themes/classic/source/_layouts/default.html | 26 ++++++++++++++++++++++ themes/classic/source/_layouts/page.html | 13 +++++++++++ themes/classic/source/_layouts/post.html | 16 +++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 themes/classic/source/_layouts/archive_monthly.html create mode 100644 themes/classic/source/_layouts/archive_yearly.html create mode 100644 themes/classic/source/_layouts/default.html create mode 100644 themes/classic/source/_layouts/page.html create mode 100644 themes/classic/source/_layouts/post.html (limited to 'themes/classic/source/_layouts') diff --git a/themes/classic/source/_layouts/archive_monthly.html b/themes/classic/source/_layouts/archive_monthly.html new file mode 100644 index 00000000..85ada6d8 --- /dev/null +++ b/themes/classic/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/themes/classic/source/_layouts/archive_yearly.html b/themes/classic/source/_layouts/archive_yearly.html new file mode 100644 index 00000000..dabebebd --- /dev/null +++ b/themes/classic/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/themes/classic/source/_layouts/default.html b/themes/classic/source/_layouts/default.html new file mode 100644 index 00000000..dc69ef83 --- /dev/null +++ b/themes/classic/source/_layouts/default.html @@ -0,0 +1,26 @@ +{% include head.html %} + +
{% include header.html %}
+ +
+
+
{{ content }}
+ {% unless page.sidebar == 'none' %} + + {% endunless %} +
+
+ + {% if site.twitter_follow_button or site.twitter_tweet_button %} + + {% endif %} + + diff --git a/themes/classic/source/_layouts/page.html b/themes/classic/source/_layouts/page.html new file mode 100644 index 00000000..88d6e13a --- /dev/null +++ b/themes/classic/source/_layouts/page.html @@ -0,0 +1,13 @@ +--- +layout: default +no_title_link: true +permalink: pretty +single: true +--- + +
+ {% include article.html %} + {% if site.disqus_short_name %} +
{% include disqus_thread.html %}
+ {% endif %} +
diff --git a/themes/classic/source/_layouts/post.html b/themes/classic/source/_layouts/post.html new file mode 100644 index 00000000..7407d1e3 --- /dev/null +++ b/themes/classic/source/_layouts/post.html @@ -0,0 +1,16 @@ +--- +layout: default +single: true +--- + +
+ {% include article.html %} + + {% if site.disqus_short_name %} +
{% include disqus_thread.html %}
+ {% endif %} +
-- cgit v1.2.1