add html to end of permalinks