Move pots from index to macro (with context) and change all links to url_for