Fixed the archive URL when a site is set to a subpath

refs https://github.com/TryGhost/Source/issues/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
This commit is contained in:
Sodbileg Gansukh
2023-11-21 16:05:03 +08:00
parent 0798ee6e48
commit d22775c109

View File

@@ -115,7 +115,7 @@
{{#match pagination.pages ">" 1}} {{#match pagination.pages ">" 1}}
<div class="gh-more is-title"> <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> </div>
{{/match}} {{/match}}