For some reason our blog hosted on Heroku always displays the blog index page correctly first time, http://www.pocketworks.co.uk/blog/. On second load the layout is missing. We're on Harp 0.17.0. Structure looks like this:
Update: I hacked the issue by removing the public/blog/_data.json and putting the contents of it in the root public/_data.json. This causes other issues so not ideal, still looking for an answer!
For some reason our blog hosted on Heroku always displays the blog index page correctly first time, http://www.pocketworks.co.uk/blog/. On second load the layout is missing. We're on Harp
0.17.0
. Structure looks like this:And the _data.json in the blog folder.
I've tried lots of alternatives, such as losing the
./public
folder, moving the_blog_layout.ejs
etc. Nothing works. Any ideas?Cheers folks!
Tobin