It looks like this file includes elements that are already present in base.html. We should not repeat them as much as possible so as to reduce the number of places we need to make changes in. There should be a decent way to do this through template inheritance if you haven't considered it.