Define display for anchor in main.html