redwallhp/Jekyll-to-Ghost — pull request #2 by MoriTanosuke (2013-10-16 17:46:26+00:00)
Title: 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: