|
@@ -22,13 +22,13 @@ Full archives of {{ SITENAME|striptags }} blog.
|
|
{% for article in dates %}
|
|
{% for article in dates %}
|
|
{% set year = article.date.strftime('%Y') %}
|
|
{% set year = article.date.strftime('%Y') %}
|
|
{%if last_year != year %}
|
|
{%if last_year != year %}
|
|
- <h2>{{ year }}</h2>
|
|
|
|
|
|
+ <h2 class="hidden-phone">{{ year }}</h2>
|
|
{% set last_year = year %}
|
|
{% set last_year = year %}
|
|
{% endif %}
|
|
{% endif %}
|
|
<article>
|
|
<article>
|
|
<h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }} {%if article.subtitle %} <small> {{ article.subtitle }} </small> {% endif %} </a></h1>
|
|
<h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }} {%if article.subtitle %} <small> {{ article.subtitle }} </small> {% endif %} </a></h1>
|
|
{% set day = article.date.strftime('%d')|int %}
|
|
{% set day = article.date.strftime('%d')|int %}
|
|
- <time pubdate="pubdate" datetime="{{ article.date.isoformat() }}">{{ article.date.strftime('%b') }} {{ day }}</time>
|
|
|
|
|
|
+ <time pubdate="pubdate" datetime="{{ article.date.isoformat() }}">{{ article.date.strftime('%b') }} {{ day }}<span class="visible-phone">{{- article.date.strftime(', %Y') }}</span></time>
|
|
<footer>posted in
|
|
<footer>posted in
|
|
<a href="{{ SITEURL }}/categories.html#{{ article.category.slug }}-ref">{{ article.category }}</a>
|
|
<a href="{{ SITEURL }}/categories.html#{{ article.category.slug }}-ref">{{ article.category }}</a>
|
|
</footer>
|
|
</footer>
|