fix var name
fix relative url to post permalink