Closed leonderijke closed 9 years ago
@leonderijke When I wrote this, it was mostly for consistency. Since firstPage
could be anything, I wanted a way for people to navigate back to page 1 easily without having to find it. E.g. Just replace /page/2
with /page/1
. So, personal preference. It may be worth adding canonical support for SEO cases, but do you have any other concerns?
SEO is indeed my primary concern. Although I find it a bit unusual to have two "page 1's". I'd prefer not generating pageOne
when there is a firstPage
over adding canonical support. What do you think?
I'll add an option to disable pageOne
, when you have a separate firstPage
option enabled - it's easy enough to support.
Added noPageOne option with v1.2.0
As can be seen in the tests, when the
first
option is set, afirstPage
and apageOne
are created:The contents of
firstPage
andpageOne
are the same, so I'm wondering: why ispageOne
created?