Whenever I implemented pagination, it broke my active link styles. The pagination starts with /, /blog2, /blog3 etc etc...whenever I'm no longer on / the active style no longer shows.
For the Blog navigation link, I'd like to be active if the pathname is / or starts with /blog*.
Whenever I implemented pagination, it broke my active link styles. The pagination starts with
/
,/blog2
,/blog3
etc etc...whenever I'm no longer on/
the active style no longer shows.For the
Blog
navigation link, I'd like to be active if thepathname
is/
or starts with/blog*
.Possibly helpful: https://github.com/gatsbyjs/gatsby/issues/8160