diff --git a/blog/archive.html b/blog/archive.html index 85175d8..cb2c5c6 100644 --- a/blog/archive.html +++ b/blog/archive.html @@ -13,7 +13,7 @@ back: 2 {% for post in site.categories.en limit:1 %} - {% assign month = post.date | date: "%B, %Y" %} + {% assign month = post.date | date: "%Y" %} {% endfor %} @@ -21,7 +21,7 @@ back: 2 {{ month }} (hide)(show) {% for post in site.categories.en %} - {% assign new_month = post.date | date: "%B, %Y" %} + {% assign new_month = post.date | date: "%Y" %} {% if new_month != month %} @@ -32,7 +32,7 @@ back: 2 {{ new_month }} (hide)(show) {% endif %} - {% assign month = post.date | date: "%B, %Y" %} + {% assign month = post.date | date: "%Y" %} {{ post.date | date_to_string }} » {{ post.title }} ({{ post.tags }}) {% endfor %} diff --git a/ru/blog/archive.html b/ru/blog/archive.html index 143ef4e..477397b 100644 --- a/ru/blog/archive.html +++ b/ru/blog/archive.html @@ -14,8 +14,8 @@ back: 2 {% for post in site.categories.ru limit:1 %} - {% assign month = post.date | date: "%B, %Y" %} - {% assign new_month = post.date | date: "%B, %Y" %} + {% assign month = post.date | date: "%Y" %} + {% assign new_month = post.date | date: "%Y" %} {% endfor %} @@ -23,7 +23,7 @@ back: 2 {% include longdate_to_ru.html %} (скрыть)(показать) {% for post in site.categories.ru %} - {% assign new_month = post.date | date: "%B, %Y" %} + {% assign new_month = post.date | date: "%Y" %} {% if new_month != month %}
{% for post in site.categories.en %} - {% assign new_month = post.date | date: "%B, %Y" %} + {% assign new_month = post.date | date: "%Y" %} {% if new_month != month %}
{% endif %} - {% assign month = post.date | date: "%B, %Y" %} + {% assign month = post.date | date: "%Y" %} {{ post.date | date_to_string }} » {{ post.title }} ({{ post.tags }}) {% endfor %}
{% for post in site.categories.ru %} - {% assign new_month = post.date | date: "%B, %Y" %} + {% assign new_month = post.date | date: "%Y" %} {% if new_month != month %}