added another ifnotregex to base.html