Add absolute and relative path support for posts.