switch newer/older in pagination navigation and remove about
collierb opened this issue · 3 comments
hi hauke - what file/files do I need to edit to do following: switch newer/older in pagination navigation and remove about in pagination navigation
In the layouts/partials/pagination.html
you'll find the buttons. The buttons have the link {{ .Next.URL }}
and {{ .Prev.URL }}
on them. Just switch it (and also switch the label) and there you go.
The about page is set in the config.toml
(just take a look at the example site). Just remove it and it's gone.
I hope I was able to help.
PS.: Please use the comment field for the next issue, I moved your question there.
I tested it and indeed that's an odd behavior. To use only navigation between things of the same type (e.g. only between posts), you can use .NextInSection
and .PrevInSection
. I fixed the strange behavior in v0.6.2 and also fixed the wrong button-order you mentioned.
Thanks for reporting these issues.
PS.: It's the best to answer on the GitHub web-page rather then answering mails (your commend look like you answered via mail or something like that).