move non-content HTML into base.html and use extends