Ghost Assets Handlebar path (SOLVED)

Hey all,

Is there a way to change the handlebar asset handler, i.e.,

<link rel="stylesheet" type="text/css" href="{{asset "css/app.css"}}">

I’ve added Ghost to my already existing website and I’m using nginx to redirect all paths that start with ‘blog’ to the Ghost server. The problem with that is, when using the handlebar handler for assets (above), it requests assets from ‘example.com/assets/[whatever path]’. So nginx isn’t handling the path redirect.

I have figured out a number of hacky solutions to this, but all of them have their issues. I’d like to isolate all ghost related paths to ‘blog/[some path]’.

Any help would be appreciated.

UPDATE:
I was able to fix this by changing the config.development.json. I added ‘/blog/’ at the end of the url

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.