Sha256: 5c65872fc7700d0718f647562febb04be535fe5f1403ce1fb90a38ba83d96d17
Contents?: true
Size: 1.21 KB
Versions: 10
Compression:
Stored size: 1.21 KB
Contents
--- layout: page # The Archives of posts. --- {% include lang.html %} <div id="archives" class="pl-xl-2"> {% for post in site.posts %} {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} {% capture pre_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} {% if forloop.first %} {% assign last_day = "" %} {% assign last_month = "" %} <span class="lead">{{this_year}}</span> <ul class="list-unstyled"> {% endif %} <li> <div> {% capture this_day %}{{ post.date | date: "%d" }}{% endcapture %} {% capture _mth_df %}{{ site.data.locales[lang].date_format.post.archive_month }}{% endcapture %} {% capture this_month %}{{ post.date | date: _mth_df }}{% endcapture %} <span class="date day">{{ this_day }}</span> <span class="date month small text-muted">{% include no-zero-date.html date_str=this_month %}</span> <a href="{{ post.url | relative_url }}">{{ post.title }}</a> </div> </li> {% if forloop.last %} </ul> {% elsif this_year != pre_year %} </ul> <span class="lead">{{pre_year}}</span> <ul class="list-unstyled"> {% assign last_day = "" %} {% assign last_month = "" %} {% endif %} {% endfor %} </div>
Version data entries
10 entries across 10 versions & 1 rubygems