diff --git a/_includes/archive.html b/_includes/archive.html index ef29c3d..601729d 100644 --- a/_includes/archive.html +++ b/_includes/archive.html @@ -1,6 +1,5 @@ - + + diff --git a/_includes/article.html b/_includes/article.html index 67c9e9a..4330e14 100644 --- a/_includes/article.html +++ b/_includes/article.html @@ -1,46 +1,38 @@ -{% if index %} -
- {% if truncated != true %} - Skip to archived posts - {% endif %} -
- {% if truncated %} -

{{ post.title }}

+
+ {% if index %} + {% for post in site.posts %} + {% capture post_year %}{{post.date | date: "%Y"}}{% endcapture %} + {% if post_year != current_year %} + {% capture current_year %}{{post_year}}{% endcapture %} +

{{current_year}}

+ {% endif %} + + + {{ post.title }} + + {% endfor %} {% else %} -

{{ post.title }}

- {% endif %} -
-

published {{ post.date | date_to_string }}

-
-
-{% else %} -
- {% if truncated != true %} - Skip to archived posts - {% endif %} -
-

{{ page.title }}

-
-

published {{ page.date | date_to_string }}

-
-
-{% endif %} + {% if truncated != true %} + + Back to blog posts + + {% endif %} - {% if truncated != true %} -
- {{ content }} -
- {% endif %} + +

{{ page.title }}

+ -
-

- {% if index %} - {{ post.author }} - {{ post.author }} - {% else %} - {{ page.author }} - {{ page.author }} +

+ {% if truncated != true %} + {{ content }} {% endif %} -

-
-
+ + + + {% endif %} + diff --git a/_layouts/default.html b/_layouts/default.html index 938577d..dfb2b18 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,67 +1,129 @@ - + - - {% if index %} - - RubyGems.org + Blog - RubyGems {% else %} - {{ page.title }} | RubyGems.org + {{ page.title }} - RubyGems Blog {% endif %} - - + + + + + + + + -
- + + + +
-
- {{ content }} -
+
+
+

Blog

+ +
+ {{ content }} +
+
+
-