Skip to content

Commit

Permalink
Fixed the archive URL when a site is set to a subpath
Browse files Browse the repository at this point in the history
refs TryGhost#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
  • Loading branch information
minimaluminium committed Nov 21, 2023
1 parent 0798ee6 commit d22775c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partials/components/post-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@

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

Expand Down

0 comments on commit d22775c

Please sign in to comment.