fix typo in menu template

fixed a typo in the conditional display of the menu template