Skip to content

Commit 92e28b9

Browse files
committed
fix older words
1 parent 0b9c21f commit 92e28b9

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

index.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,17 @@ layout: default
5555
### older words
5656

5757
<div class="related">
58+
<ul>
5859
<ul>
5960
{% for post in site.posts %}
60-
{% capture postyear %}{{post.date | date: '%sY'}}{% endcapture %}
61-
{% assign postyear = postyear | plus: 0 %}
62-
{% unless post.tags contains "noindex" or post.tags contains "posterous" or post.tags contains "homoiconic" or postyear > 2013 %}
61+
{% capture postyear %}{{post.date | date: '%Y'}}{% endcapture %}
62+
{% unless post.tags contains "noindex" or postyear == "2015" or postyear == "2014" %}
6363
<li>
6464
<a href="{{ post.url }}">{{ post.title }}</a> (<span>{{ post.date | date: "%Y-%m-%d" }}</span>)
6565
</li>
6666
{% endunless %}
6767
{% endfor %}
68-
{% for post in site.tags.homoiconic %}
69-
{% unless post.tags contains "noindex" %}
70-
<li>
71-
<a href="{{ post.url }}">{{ post.title }}</a> (<span>{{ post.date | date: "%Y" }}</span>)
72-
</li>
73-
{% endunless %}
74-
{% endfor %}
75-
{% for post in site.tags.posterous %}
76-
{% unless post.tags contains "noindex" %}
77-
<li>
78-
<a href="{{ post.url }}">{{ post.title }}</a> (<span>{{ post.date | date: "%Y" }}</span>)
79-
</li>
80-
{% endunless %}
81-
{% endfor %}
68+
</ul>
8269
</ul>
8370
</div>
8471

0 commit comments

Comments
 (0)