-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (25 loc) · 923 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
layout: blog
title: Mac Hints from BinaryAge
---
<div class="row">
<div class="col-md-12">
<ul class="posts">
{% for post in site.posts %}
<li>
{% unless post.next %}
<span class="year">{{ post.date | date: '%Y' }}</span>
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
<span class="year">{{ post.date | date: '%Y' }}</span>
{% endif %}
{% endunless %}
<span class="post-title"><span class="post-date">{{ post.date | date: '%B %d' }}</span> <a href="{{post.url}}{% if site.dev %}/{% endif %}">{{ post.title }}</a></span>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>