From ea349cdfbfa4d42110099e49a8ff23f7213cd5b6 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Wed, 29 Jun 2011 14:01:06 -0400 Subject: Moved themes to .themes to get it out of the way. Updated Rakefile to support .themes dir and remove duplication. Improved deploy task. Renamed init_deploy to cofig_deploy and rewrote it to update configurations in the Rakefile for easier deploy use --- .../classic/source/_layouts/category_index.html | 12 ++++++++++ .themes/classic/source/_layouts/default.html | 26 ++++++++++++++++++++++ .themes/classic/source/_layouts/page.html | 5 +++++ .themes/classic/source/_layouts/post.html | 24 ++++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 .themes/classic/source/_layouts/category_index.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/category_index.html b/.themes/classic/source/_layouts/category_index.html new file mode 100644 index 00000000..699f3dec --- /dev/null +++ b/.themes/classic/source/_layouts/category_index.html @@ -0,0 +1,12 @@ +--- +layout: post +no_meta: true +--- + +
+{% for post in site.categories[page.category] %} +
+ {% include archive_post.html %} +
+{% endfor %} +
diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html new file mode 100644 index 00000000..4e4f81a3 --- /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..0c59c990 --- /dev/null +++ b/.themes/classic/source/_layouts/page.html @@ -0,0 +1,5 @@ +--- +layout: post +--- + + diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html new file mode 100644 index 00000000..5f55e89f --- /dev/null +++ b/.themes/classic/source/_layouts/post.html @@ -0,0 +1,24 @@ +--- +layout: default +single: true +--- + +
+ {% include article.html %} + {% unless page.no_meta %} +
+

+ {% include post_author.html %} + {% include post_date.html %} + {% include post_categories.html %} + {% include sharing.html %} +

+
+ {% endunless %} + {% if site.disqus_short_name %} +
+

Comments

+
{% include disqus_thread.html %}
+
+ {% endif %} +
-- cgit v1.2.1