Hi there,
The example site, content of blog site, the button's pagination Next and Prev not working well:
https://example.docsy.dev/blog/2018/10/06/easy-documentation-with-docsy/

The code of pager.html is this (located in themes\docsy\layouts\partials\pager.html):
<ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5">
<li>
<a {{if .PrevInSection}}href="{{.PrevInSection.RelPermalink}}"{{end}} class="btn btn-primary {{if not .PrevInSection}} disabled{{end}}"><span class="mr-1">←</span> {{ T "ui_pager_prev" }}</a>
</li>
<a {{if .NextInSection}}href="{{.NextInSection.RelPermalink}}"{{end}} class="btn btn-primary {{if not .NextInSection}} disabled{{end}}">{{ T "ui_pager_next" }} <span class="ml-1">→</span></a>
</li>
</ul>
The order is changed. I don't know if it's because of the weight, or why not ... But I think it may be due to the order-content that Hugo has set by default...
In every filename.md the weigth order first (hugo docs) is:
Lower weight gets higher precedence. So content with lower weight will come first.
I have all these content-files ordered ascending by weight... but the prev/next change the order....
The same thing happens with the docs section, if you put the page...
Any ideas to fix it? Thank you! 😃
Hi there,
The example site, content of blog site, the button's pagination Next and Prev not working well:
https://example.docsy.dev/blog/2018/10/06/easy-documentation-with-docsy/
The code of pager.html is this (located in themes\docsy\layouts\partials\pager.html):
The order is changed. I don't know if it's because of the weight, or why not ... But I think it may be due to the order-content that Hugo has set by default...
In every filename.md the weigth order first (hugo docs) is:
I have all these content-files ordered ascending by weight... but the prev/next change the order....
The same thing happens with the docs section, if you put the page...
Any ideas to fix it? Thank you! 😃