File tree Expand file tree Collapse file tree 1 file changed +1
-45
lines changed
Expand file tree Collapse file tree 1 file changed +1
-45
lines changed Original file line number Diff line number Diff line change 22layout: default
33---
44
5- < div class ="posts ">
6- {% for post in paginator.posts %}
7- < article class ="post ">
8- < a href ="{{ site.baseurl }}{{ post.url }} ">
9- < h1 > {{ post.title }}</ h1 >
10-
11- < div >
12- < p class ="post_date "> {{ post.date | date: "%B %e, %Y" }}</ p >
13- </ div >
14- </ a >
15- < div class ="entry ">
16- {{ post.excerpt }}
17- </ div >
18-
19- < a href ="{{ site.baseurl }}{{ post.url }} " class ="read-more "> Read More</ a >
20- </ article >
21- {% endfor %}
22-
23- <!-- pagination -->
24- {% if paginator.total_pages > 1 %}
25- < div class ="pagination ">
26- {% if paginator.previous_page %}
27- < a href ="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }} "> « Prev</ a >
28- {% else %}
29- < span > « Prev</ span >
30- {% endif %}
31-
32- {% for page in (1..paginator.total_pages) %}
33- {% if page == paginator.page %}
34- < span class ="webjeda "> {{ page }}</ span >
35- {% elsif page == 1 %}
36- < a href ="{{ '/' | prepend: site.baseurl | replace: '//', '/' }} "> {{ page }}</ a >
37- {% else %}
38- < a href ="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }} "> {{ page }}</ a >
39- {% endif %}
40- {% endfor %}
41-
42- {% if paginator.next_page %}
43- < a href ="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }} "> Next »</ a >
44- {% else %}
45- < span > Next »</ span >
46- {% endif %}
47- </ div >
48- {% endif %}
49- </ div >
5+ Under construction
You can’t perform that action at this time.
0 commit comments