Skip to content

Commit 743e511

Browse files
committed
Fix broken links.
1 parent f7ebab0 commit 743e511

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_includes/pagination.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="pagination clearfix">
22
{% 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>
44
{% endif %}
55
{% 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>
77
{% endif %}
88
</div>

_includes/recent-post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ <h2 class="recent-title">Recent post</h2>
33
<div class="recent-list">
44
{% for post in site.posts offset:0 limit:4 %}
55
{% 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>
77
{% endif %}
88
{% endfor %}
99
</div>

0 commit comments

Comments
 (0)