{strip}
    <a class="news-card {$type}" href="{$SITE_URL}{$new.url}"  data-aos="{if $position eq 'right'}fade-right{else}fade-left{/if}" data-aos-duration="500"'>
        <div class="news-card__img"><img src="{$new.image.original}" alt="{$new.title}"></div>
        <div class="news-card__info">
            <div class="text-tmp title-28 txt-14">
                <h3>{$new.title|truncate:$truncateTitle}</h3>
                <p>{$new.summary|strip_tags|truncate:$truncateSummary}</p>
            </div>
            <div class="news-card__footer"><p><time>{$new.publishedOn|date_format:$config.date_format_custom}</time></p></div>
        </div>
    </a>
{/strip}