File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="pagination clearfix ">
2
2
{% if paginator.previous_page %}
3
- < a href ="{{ paginator.previous_page_path }} " class ="previous "> < i class ="fa fa-angle-left " aria-hidden ="true "> </ i > Previous</ a >
3
+ < a href ="{{ paginator.previous_page_path | prepend: site.baseurl }} " class ="previous "> < i class ="fa fa-angle-left " aria-hidden ="true "> </ i > Previous</ a >
4
4
{% endif %}
5
5
{% if paginator.next_page %}
6
- < a href ="{{ paginator.next_page_path }} " class ="next "> Next < i class ="fa fa-angle-right " aria-hidden ="true "> </ i > </ a >
6
+ < a href ="{{ paginator.next_page_path | prepend: site.baseurl }} " class ="next "> Next < i class ="fa fa-angle-right " aria-hidden ="true "> </ i > </ a >
7
7
{% endif %}
8
8
</ div >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ <h2 class="recent-title">Recent post</h2>
3
3
< div class ="recent-list ">
4
4
{% for post in site.posts offset:0 limit:4 %}
5
5
{% if post.title %}
6
- < a href ="{{ root_url }}{{ post.url }} " class ="recent-item " style ="background: url({{ "/assets/img/" | prepend: site.baseurl | append : post.img}}) center no-repeat; background-size: cover;"> < span > {{ post.title }}</ span > </ a >
6
+ < a href ="{{ root_url }}{{ post.url | prepend: site.baseurl }} " class ="recent-item " style ="background: url({{ "/assets/img/" | prepend: site.baseurl | append : post.img}}) center no-repeat; background-size: cover;"> < span > {{ post.title }}</ span > </ a >
7
7
{% endif %}
8
8
{% endfor %}
9
9
</ div >
You can’t perform that action at this time.
0 commit comments