moved post format link to template tag function
- required extra logic to work for link format outside of content templates