Replace generated links to other blogposts with static relative links

I'm using the tag *post_url* in some of my blogposts and the importer didn't touch those links so they ended up broken in my imported posts.

I added a simple regex replacing everything with a hard relative link to the post in Ghosts URL structure. I'm not entirely sure this will work on all installations. Also, I don't know if Ghost supports different URL formats - if yes, the hard relative links will break for someone else how modified the URLs.

Anyway, I think this might be useful to others, so here it is. :smile: