{# Make sure any variables are listed inside the following if statement #} {% if context %} {# {% set vf-mega-menu = context.vf-mega-menu %} #} {% endif %} {# It is recommended to put your mega menu links at the vf-global-header level #}
{# You can do Nunjucks logic in your templates that references the .yml settings What's Nunjucks: https://mozilla.github.io/nunjucks/templating.html #} {# {% if item.image == "blank" %} {% else %} {{ item.image }} {% endif %} #}