{{#ifEquals type "cards"}}
    <div class="editorial-map-and-card-grid__card-view {{#ifEquals type "sharedBoard"}}js-shared-card-view{{/ifEquals}}">
        <div class="grid-x grid-margin-x">
            {{#each cards}}
                <div class="editorial-map-and-card-grid__card cell medium-6 large-3 js-card" {{#if filterType}}data-category="{{filterType}}"{{/if}}>
                    {{> @cp-card-standard }}
                </div>
            {{/each}}
        </div>
    </div>
{{/ifEquals}}
{{#ifEquals type "mapAndCards"}}
    <div class="editorial-map-and-card-grid__card-view {{#ifEquals type "sharedBoard"}}js-shared-card-view{{/ifEquals}} js-carousel-slider">
        <div class="carousel__slider editorial-map-and-card-grid__slider grid-x" role="region">
            {{#each cards}}
                <div class="cell carousel__slide editorial-map-and-card-grid__slide editorial-map-and-card-grid__card js-card" {{#if filterType}}data-category="{{filterType}}"{{/if}}>
                    {{#if webAppMode}}
                        {{> @cp-card-standard-generic dynamicImage=true webAppMode=true titleLink=true cardType='Generic' pageType='Page Type' isEditorial=true }}
                    {{else}}
                        {{> @cp-card-standard-generic dynamicImage=true titleLink=true cardType='Generic' pageType='Page Type' isEditorial=true }}
                    {{/if}}
                </div>
            {{/each}}
        </div>
    </div>
{{/ifEquals}}