Fixing extending base.html bug