File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 3
3
---
4
4
5
5
< div class ="posts ">
6
- {% for post in site.posts %}
7
- {% assign currentdate = post.date | date: "%Y" %}
8
- {% if currentdate != date %}
9
- {% unless forloop.first %}</ ul > {% endunless %}
10
- < h1 id ="y{{post.date | date: "%Y "}}"> {{ currentdate }}</ h1 >
11
- < ul >
12
- {% assign date = currentdate %}
13
- {% endif %}
14
- < li > < a href ="{{ post.url }} "> {{ post.title }}</ a > </ li >
15
- {% if forloop.last %}</ ul > {% endif %}
16
- < article class ="post ">
6
+ {% for post in site.posts %}
7
+ < article class ="post ">
17
8
18
9
< h1 > < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}</ a > </ h1 >
19
10
@@ -23,6 +14,6 @@ <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
23
14
24
15
< a href ="{{ site.baseurl }}{{ post.url }} " class ="read-more "> Read More</ a >
25
16
</ article >
26
- {% endfor %}
17
+ {% endfor %}
27
18
</ div >
28
19
You can’t perform that action at this time.
0 commit comments