<script type="text/javascript" src="//branding.vcu.edu/bar/academic/latest.js" data-color-top-campaign="graydark"></script>
{# Attributes #}
{% set attributes = [
    'type="text/javascript"',
    'src="//branding.vcu.edu/bar/academic/latest.js"'
] %}
{# Top color #}
{% if top %}
    {% set attributes =
        attributes|merge(['data-color-top-campaign="' ~ top ~ '"'])
    %}
{% endif %}
{# Bottom color #}
{% if bottom %}
    {% set attributes =
        attributes|merge(['data-color-bottom="' ~ bottom ~ '"'])
    %}
{% endif %}
{# Brand bar script #}
<script {{ attributes|join(' ') }}></script>
{
  "top": "graydark"
}

No notes defined.