Subject: Removed extra {% endif %} tag from base.html