{# ========================================================================= #}
{# :: Version #}
{# ========================================================================= #}
{#
  Displaying the brandplatform version with a link to the log information.
#}

{# ========================================================================= #}
{# :: Imports #}
{# ========================================================================= #}
{% import "brandplatform/components/current.njk" as current %}

{# ========================================================================= #}
{# :: Partial #}
{# ========================================================================= #}
<div class="bp-section bp-section--grey">
  <div class="bp-container">

    {{current.default("",
      {
        number: CONFIG.appVersion,
        text: CHANGELOG[CONFIG.appVersion].title,
        action: "View log",
        url: "/changelog"
      }
    )}}

  </div>
</div>
