{{#partial "page"}}

  <header class="sub-header">
    {{> components/common/breadcrumbs breadcrumbs}}
  </header>

  <section class="layout-block">

    <div class="page-header">
      <h1 class="page-title centered">
        {{#if subscription.error}}
          {{lang 'newsletter.subscribed_heading_error'}}
        {{else}}
          {{lang 'newsletter.subscribed_heading'}}
        {{/if}}
      </h1>
    </div>

    <div class="page-container">
      <div class="page-content narrow">
        {{#if subscription.error}}
          {{> core/alerts/alert-error (lang 'newsletter.subscribed_error')}}
        {{else}}
          {{> core/alerts/alert-success (lang 'newsletter.subscribed_message')}}
        {{/if}}
      </div>
    </div>

  </section>

{{/partial}}

{{> layout/base}}
