From 5d61b463580584755bc6a45ac3212b3b08409dda Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 20 Jun 2011 16:44:04 -0400 Subject: 1. Updated readme 2. Improved blog typography 3. Improved support for Disqus 4. Removed unnecessary page layout --- themes/classic/source/_includes/article.html | 26 +++++++++------------- .../source/_includes/asides/recent_posts.html | 2 +- themes/classic/source/_includes/disqus_thread.html | 16 ++++++++----- themes/classic/source/_includes/post_meta.html | 7 ------ themes/classic/source/_layouts/page.html | 12 ++-------- themes/classic/source/_layouts/post.html | 9 ++++++-- themes/classic/source/archive.html | 2 +- themes/classic/source/index.html | 12 +++++++++- 8 files changed, 44 insertions(+), 42 deletions(-) delete mode 100644 themes/classic/source/_includes/post_meta.html (limited to 'themes/classic/source') diff --git a/themes/classic/source/_includes/article.html b/themes/classic/source/_includes/article.html index c0a9782f..7ed6430f 100644 --- a/themes/classic/source/_includes/article.html +++ b/themes/classic/source/_includes/article.html @@ -1,8 +1,3 @@ -{% if page.author %} - {% assign author = page.author %} -{% else %} - {% assign author = site.author %} -{% endif %} {% unless page.no_header %}
{% if index %} @@ -10,19 +5,20 @@ {% else %}

{{ page.title | titlecase }}

{% endif %} - {% unless page.no_meta or !index %}

{% include post_meta.html %}

{% endunless %} + {% unless page.no_meta or !index %}

{% include post_date.html %}

{% endunless %}
{% endunless %} {% if index %} -
{{ content | exerpt | smart_quotes }}
- +
{{ content | exerpt | smart_quotes }}
+

Read on →

+ {% else %}
{{ content | smart_quotes }}
{% endif %} diff --git a/themes/classic/source/_includes/asides/recent_posts.html b/themes/classic/source/_includes/asides/recent_posts.html index 7b40b76e..ad3c7cc0 100644 --- a/themes/classic/source/_includes/asides/recent_posts.html +++ b/themes/classic/source/_includes/asides/recent_posts.html @@ -8,5 +8,5 @@ {% endfor %} - + {% endif %} diff --git a/themes/classic/source/_includes/disqus_thread.html b/themes/classic/source/_includes/disqus_thread.html index 036b9d7b..2b137792 100644 --- a/themes/classic/source/_includes/disqus_thread.html +++ b/themes/classic/source/_includes/disqus_thread.html @@ -1,7 +1,13 @@ +
- - + diff --git a/themes/classic/source/_includes/post_meta.html b/themes/classic/source/_includes/post_meta.html deleted file mode 100644 index 24768255..00000000 --- a/themes/classic/source/_includes/post_meta.html +++ /dev/null @@ -1,7 +0,0 @@ -{% if page.date %} - -{% endif %} -{% if page.updated %} - -{% endif %} -{% if author %}{{ author }}{% endif %} diff --git a/themes/classic/source/_layouts/page.html b/themes/classic/source/_layouts/page.html index 88d6e13a..0c59c990 100644 --- a/themes/classic/source/_layouts/page.html +++ b/themes/classic/source/_layouts/page.html @@ -1,13 +1,5 @@ --- -layout: default -no_title_link: true -permalink: pretty -single: true +layout: post --- -
- {% 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 index 7407d1e3..196bb4dd 100644 --- a/themes/classic/source/_layouts/post.html +++ b/themes/classic/source/_layouts/post.html @@ -6,11 +6,16 @@ single: true
{% include article.html %}
-

- +

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

{% if site.disqus_short_name %} +
+

Comments

{% include disqus_thread.html %}
+
{% endif %}
diff --git a/themes/classic/source/archive.html b/themes/classic/source/archive.html index be373762..e49c6b67 100644 --- a/themes/classic/source/archive.html +++ b/themes/classic/source/archive.html @@ -1,5 +1,5 @@ --- -layout: page +layout: post title: Blog Archive no_meta: true --- diff --git a/themes/classic/source/index.html b/themes/classic/source/index.html index f151e06e..2ef9f8cf 100644 --- a/themes/classic/source/index.html +++ b/themes/classic/source/index.html @@ -9,4 +9,14 @@ blog_index: true {% include article.html %} {% endfor %} - +{% if site.disqus_short_name %} + +{% endif %} -- cgit v1.2.1