mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-22 21:58:39 +01:00
23 lines
614 B
HTML
23 lines
614 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="well">
|
|
{%for post in site.posts %}
|
|
{% unless post.next %}
|
|
<h1>{{ post.date | date: '%Y' }}</h1>
|
|
<ul>
|
|
{% else %}
|
|
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
|
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
|
{% if year != nyear %}
|
|
</ul>
|
|
<h1>{{ post.date | date: '%Y' }}</h1>
|
|
<ul>
|
|
{% endif %}
|
|
{% endunless %}
|
|
<li><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%b %-d" }} - {{ post.title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|