brevifolia-gatsby-forestry
brevifolia-gatsby-forestry copied to clipboard
Update blog.js
Problem
The "next blog" link at the bottom of blog posts isn't pointing to the right path. Example: on the first blog of the demo site the link points to /blog/on-the-geneology-of-morals/blog/ne-te-quaesiveris-extra. Cause is a missing forward slash which results in the intended path being appended to the current page's path.
I don't understand why, but the missing forward slash doesn't cause a problem in Foresty's preview mode. It is a problem everywhere else I've tested it.
Solution
Added a forward slash to the "to=" path of the Link on line 47.