- What version of Ghost are you using? Ghost-CLI at 1.13.1, Ghost version 3.14.4, Node v12.16.2 on Ubuntu 16
My blog is served at
https://mydomain/blog/ and reverse-proxied via nginx.
In a post, I need to place an anchor tag with an absolute-path reference. This is a link to a relative path beginning with a “/” character. For example,
When I try to make an absolute-path reference in my post content, the path is converted to an absolute-URI link, but it uses the full blog url instead of just the domain, so it becomes
https://mydomain/blog/foo. This breaks the link completely. I actually want it to point to
/foo on whatever domain or scheme I’m using.
How can I create an anchor tag that doesn’t get converted to an absolute-URI?
(At the very least, transforming it from
/blog/foo seems most incorrect. If it was transformed to
https://mydomain/foo that would be sufficient)