{# Make sure any variables are listed inside the following if statement #} {% if context %} {# {% set vf-smooth-scroll = context.vf-smooth-scroll %} #} {% endif %}
{# Simple example borrowed from https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior #}

Scroll to: A B C

Item A

With sub–heading

Item B

With sub–heading

Item C

With sub–heading

{# 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 %} #}