move shared elements to base.html template