brevifolia-gatsby-forestry icon indicating copy to clipboard operation
brevifolia-gatsby-forestry copied to clipboard

Update blog.js

Open pvaladez opened this issue 4 years ago • 0 comments

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.

pvaladez avatar Oct 16 '20 03:10 pvaladez