{{#partial "page"}}

  <section class="layout-block">

    <div class="page-header">
      <h1 class="page-title centered">{{lang 'sitemap.heading'}}</h1>
    </div>

    <div class="page-container">
      <div class="page-content">

        <ul class="sitemap-list">
          {{#each sitemap}}
            <li class="sitemap-item">
              <h3 class="sitemap-label">{{label}}</h3>
              <ul class="sitemap-content">
                {{#each body}}
                  <li class="sitemap-content-item">
                    <a href="{{url}}">{{label}}</a>
                    {{#if children}}
                      <ul>
                        {{#each children}}
                          {{> components/sitemap/links}}
                        {{/each}}
                      </ul>
                    {{/if}}
                  </li>
                {{/each}}
                {{#if show_all_link}}
                  <li><a href="{{subsection_url}}">{{lang 'sitemap.show_all'}}</a></li>
                {{/if}}
              </ul>
            </li>
          {{/each}}
        </ul>

      </div>
    </div>

  </section>

{{/partial}}

{{> layout/base}}
