You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @onweru !
I recently discovered your that theme and trying to migrate my site.
I think it has great details. Really thank you!
When I try to click next or previous page in archive page (or page of posts), pager doesn't include the base URL that is domain name. I couldn't solve but working on it:
/layouts/partials/pager.html is our working file, if I'm not wrong.
In that file's this kind of line; <a href = '{{ $root }}{{ $paginator.Prev.URL }}' class = ' pager_item pager_prev'></a> $root has a issue. It should refer to .Site.BaseURL but it does not. You can also see from the screenshot. URL contains only post/page/2/
How could we solve this?
(I work on Windows 10 with R Studio, blogdown package. So, it may be caused or related with blogdown. If I can find a solution, I'll let you know. Because there was a same issue in your swift theme on the same working environment.)
The text was updated successfully, but these errors were encountered:
s-azizoglu
changed the title
In archieve page, next/previous page button's URL has an issue.
In archieve page, next/previous page button's URL has an issue. [SOLVED]
Jun 13, 2020
Hi @onweru !
I recently discovered your that theme and trying to migrate my site.
I think it has great details. Really thank you!
When I try to click next or previous page in archive page (or page of posts), pager doesn't include the base URL that is domain name. I couldn't solve but working on it:
/layouts/partials/pager.html
is our working file, if I'm not wrong.In that file's this kind of line;
<a href = '{{ $root }}{{ $paginator.Prev.URL }}' class = ' pager_item pager_prev'></a>
$root
has a issue. It should refer to .Site.BaseURL but it does not. You can also see from the screenshot. URL contains onlypost/page/2/
How could we solve this?
(I work on Windows 10 with R Studio, blogdown package. So, it may be caused or related with blogdown. If I can find a solution, I'll let you know. Because there was a same issue in your swift theme on the same working environment.)
The text was updated successfully, but these errors were encountered: