Improve Permalinks

This improves the utility and display of the permalinks as well as fixes the bug that prevented links from being clickable.