I’ve been developing a theme locally on my Windows machine, and now that I have it ready for initial rollout, I’m having all types of issues in “Production” (It’s up on the internet). I installed Ghost 3.14.0 on a new droplet on DigitalOcean (Ubuntu 18.04). I did the following:
- I ran ‘yarn ship’ on my local machine to build the theme.
- I donwloaded the theme from within Ghost Admin, and uploaded it to the production server.
- It installed successfully, no errors.
- I updated config.production.json for Mailgun, successful test email sent (this likely has nothing to do with my issues).
- I updated routes.yaml to undo “corrections” for slashes in routes when on a Windows machine.
- I started recreating content manually - a few test posts.
But now only the index template renders at all, and it does not render correctly. I had applied filters on the homepage and on a collection (blog versus a webcomic section):
collections:
/:
permalink: /{slug}/
template: index
filter: tags:-[comic]
/comic/:
permalink: /comic/{slug}/
template: comic
filter: primary_tag:comic
On my local machine, the homepage renders correctly - only blog posts show up, but on DO, posts with the tag ‘comic’ show up on the blog page, and the /comic route won’t even render.
- What’s your URL? thelittlestviking.com
- What version of Ghost? 3.14.0, locally and on DO droplet
- What configuration? development locally, production on droplet
- What browser? multiple (Firefox, Chrome, etc.)
- What errors or information do you see in the console? None?
- What steps could someone else take to reproduce the issue you’re having?