Hi, I just setup a fresh install of the latest version of Ghost with the aim of separating the home page from blog. The Ghost 2.0 post says it’s possible to set “a custom homepage on / with posts published on /blog/”, but regarding the installation, should I be setting the website to / or /blog/?
I’ve installed it on / for now, and had a look at the routing documentation, but I didn’t find it too clear, I changed the routes file to include
routes:
/: home
but wasn’t really sure how to follow this up, where do I include the home.hbs file? and if I want to set /blog/ to the standard ghost home, what would I enter?
I think the easiest way you an achieve that without breaking anything lol, would be to have your landing / home page as anykind of HTML theme you want; then just install it in the root directory for your webserver.
Then you move over to your NGINX configuration and send all requests for ‘/’ to the static files
I’ve copied it too - the syntax is correct. So looks like it’s your template?
what’s the best way to share the error.log file?
Copy the error message with the last 5 lines of the stack in code back sticks.
You could also figure this out yourself, by not using the home.hbs template or the index.hbs and then restart Ghost. By that you can identify, which template might be wrong - if it’s the template