<div class="card-featured bg-inverted js-card-generic {{#if tags}}has-tags{{/if}}" data-module="card" {{#if cardId}}data-card-id={{cardId}}{{/if}} {{#if location}}data-longitude="{{location.longitude}}" data-latitude="{{location.latitude}}"{{/if}}>
    <a href="{{#if link.url}}{{link.url}}{{else}}#{{/if}}" {{#if link.target}} target="{{link.target}}"{{#ifEquals link.target "_blank"}} rel="noopener"{{/ifEquals}}{{/if}} class="card-featured__anchor js-link">
        {{#if webAppMode}}
            {{#if location}}{{> @cp-location-marker longitude=location.longitude latitude=location.latitude}}{{/if}}
            {{> @cp-like-button likeText}}
        {{/if}}
        {{> @cp-medium-image responsiveImage}}
        <p class="card-featured__page-type js-page-type">{{pageType}}</p>
        <div class="card-featured__overlay">
            {{#if timeSpan.text}}
                <time class="card-featured__read-time" datetime="{{timeSpan.stamp}}">{{timeSpan.text}}</time>
            {{/if}}
            <h2 class="card-featured__title js-title">{{{title}}}</h2>
            {{#if locationName}}
                <p class="card-featured__location js-location-name">{{locationName}}</p>
            {{/if}}
            {{#if tags}}
                {{> @cp-hashtags tags }}
            {{/if}}
        </div>
    </a>
</div>