From 87f300b2bcf166474e5f7824fb3126a7992613ba Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Wed, 13 Jul 2011 22:23:19 -0400 Subject: 1. Styled pagination for blog index 2. Fixed Newer pagination link on page 2 3. Improved sidebar section breakdown on collapse 4. Removed sharing links from the blog index page (moved to pages) 5. Improved styling for metadata on the blog index 6. Moved /blog/archives.html to /blog/archives/index.html 7. Improved responsive layout styling bugs --- .themes/classic/source/_includes/article.html | 15 ++++++--------- .themes/classic/source/_includes/navigation.html | 2 +- .themes/classic/source/_includes/post_categories.html | 2 +- .themes/classic/source/blog/archives.html | 18 ------------------ .themes/classic/source/blog/archives/index.html | 18 ++++++++++++++++++ .themes/classic/source/index.html | 18 +++++++++++------- .themes/classic/source/javascripts/octopress.js | 2 +- 7 files changed, 38 insertions(+), 37 deletions(-) delete mode 100644 .themes/classic/source/blog/archives.html create mode 100644 .themes/classic/source/blog/archives/index.html (limited to '.themes/classic/source') diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html index b458d732..603c2f97 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -5,20 +5,17 @@ {% else %}

{{ page.title | titlecase }}

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

{% include post_date.html %}

{% endunless %} + {% unless page.no_meta %} +

{% include post_date.html %}

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

Read on →

{% else %}
{{ content | smart_quotes }}
diff --git a/.themes/classic/source/_includes/navigation.html b/.themes/classic/source/_includes/navigation.html index 6c8efaad..ec18512b 100644 --- a/.themes/classic/source/_includes/navigation.html +++ b/.themes/classic/source/_includes/navigation.html @@ -12,5 +12,5 @@ diff --git a/.themes/classic/source/_includes/post_categories.html b/.themes/classic/source/_includes/post_categories.html index 7bf7528f..4a98b29d 100644 --- a/.themes/classic/source/_includes/post_categories.html +++ b/.themes/classic/source/_includes/post_categories.html @@ -1,6 +1,6 @@ {% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %} {% unless category == '0' %} - in + {% if post %} {{ post.categories | category_links }} {% else %} diff --git a/.themes/classic/source/blog/archives.html b/.themes/classic/source/blog/archives.html deleted file mode 100644 index cdc5f17c..00000000 --- a/.themes/classic/source/blog/archives.html +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: Blog Archive -no_footer: true ---- - -
-{% for post in site.posts reverse %} -{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} -{% unless year == this_year %} - {% assign year = this_year %} -

{{ year }}

-{% endunless %} -
- {% include archive_post.html %} -
-{% endfor %} -
diff --git a/.themes/classic/source/blog/archives/index.html b/.themes/classic/source/blog/archives/index.html new file mode 100644 index 00000000..cdc5f17c --- /dev/null +++ b/.themes/classic/source/blog/archives/index.html @@ -0,0 +1,18 @@ +--- +layout: page +title: Blog Archive +no_footer: true +--- + +
+{% for post in site.posts reverse %} +{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} +{% unless year == this_year %} + {% assign year = this_year %} +

{{ year }}

+{% endunless %} +
+ {% include archive_post.html %} +
+{% endfor %} +
diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index 3f6b11b8..8754a82b 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -11,13 +11,17 @@ blog_index: true {% endfor %} {% if site.disqus_short_name %}