Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

Commit 16f62d8

Browse files
committed
Fix Liquid syntax error
1 parent c63b8ce commit 16f62d8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_layouts/yearly_archive.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@
55
<header>
66
<h2>Posts in <strong>{{ page.date | date: "%Y" }}</strong></h2>
77
</header>
8-
8+
99
<article class="content">
1010
<ul class="postlist">
1111
{% assign month = "" %}
1212
{% for post in page.posts %}
13-
14-
{% assign post_month = post.date || date: "%B" %}
13+
14+
{% assign post_month = post.date | date: "%B" %}
1515
{% if post_month != month %}
16-
16+
1717
{% assign month = post_month %}
1818
<h2>{{ post_month }}</h2>
19-
19+
2020
{% endif %}
21-
21+
2222
{% include post-item.html %}
23-
23+
2424
{% endfor %}
2525
</ul>
26-
26+
2727
<br />
2828
<ul class="pager">
2929
{% if page.previousArchive %}

0 commit comments

Comments
 (0)