Update base.html.twig

#2 add conditions