Skip to content

Commit d22775c

Browse files
Fixed the archive URL when a site is set to a subpath
refs #28 - when the archive page links to a relative path, the URL doesn't work when a site set to a subpath - this makes the archive page URL absolute
1 parent 0798ee6 commit d22775c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

partials/components/post-list.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
{{#match pagination.pages ">" 1}}
117117
<div class="gh-more is-title">
118-
<a href="/page/2">See all {{> "icons/arrow"}}</a>
118+
<a href="{{@site.url}}/page/2">See all {{> "icons/arrow"}}</a>
119119
</div>
120120
{{/match}}
121121

0 commit comments

Comments
 (0)