Take collections into account for URL previews

Actually, if someone has defined collections for their Ghost site, the URL preview shows an incorrect preview URL.

In the example below, Ghost shows the URL will be www.merisia.ca/ecoanxiete/, but with the defined collections, the post URL will be www.merisia.ca/blogue/ecoanxiete/ instead.

Is it possible to take collections into account to reflect the actual and final URL? :thinking: I wouldn’t want someone sharing the wrong URL by accident (like for people who plan their socials media posting in advance)!

Not sure if it’s a bug or a feature request, so I put this topic here instead of GitHub. Fell free to move it where it belongs.



    data: page.blogue
    permalink: /blogue/{slug}/
    template: index
    filter: tag:-realisations
    data: page.realisations
    permalink: /realisations/{slug}/
    template: index
    filter: tag:realisations

Related code: Ghost/ghost/admin/app/components/gh-url-preview.js