Commit dfd4768 1 parent b4852d0 commit dfd4768 Copy full SHA for dfd4768
File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,12 @@ <h2>Table of Contents</h2>
15
15
</ div >
16
16
17
17
< div class ="posts ">
18
- {% for post in site .posts %}
18
+ {% for post in paginator .posts %}
19
19
< article class ="post ">
20
20
< h1 > < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}</ a > </ h1 >
21
-
22
21
< div class ="entry ">
23
22
< p > {{ post.content | truncate: 500 }}</ p > <!-- Display first 500 characters of post content -->
24
23
</ div >
25
-
26
24
< a href ="{{ site.baseurl }}{{ post.url }} " class ="read-more "> Read More</ a >
27
25
</ article >
28
26
{% endfor %}
@@ -40,4 +38,4 @@ <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
40
38
41
39
{% for link in site.data.navigation %}
42
40
< a class ="page-link " href ="{{ link.url }} "> {{ link.title }}</ a >
43
- {% endfor %}
41
+ {% endfor %}
You can’t perform that action at this time.
0 commit comments