I have a Ghost Pro site with lots of content, but I want to set up a local instance so I can create some custom views. I exported the content from Pro and imported it locally, but of course the glaring omission is all of the photos, so it’s really hard to preview the site as it will actually be once I upload the theme.
Ideally I’d like to just point the image paths to the production site (hotlink) for development purposes. I found I can insert the prod url directly before {{img_url}}
tags in the hbs
templates and it does the job. Example
srcset="https://path-to-site.ghost.io{{img_url feature_image...
But ideally there’s one place to update the img_url
tag as a whole, to prepend it with the site URL. Is there a way to do this? (I tried updating the url
in config.development.json
but that predictably did not work.)
Thanks!