{include file="header.tpl" title=$section.name keywords=$section.keywords description=$section.description}

{fetch_articles perPage=12 assign=news image=true section=$section.sectionId typeContent="news" assignPagination=pagination page=$page path=$section.path seFriendly=true sectionInfo=true}
<main class="main">

	<section class="flex:col pad-t-50 pad-b-100 bg-white">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="text-tmp title-46 title-dec-32 all-center"><h2>{$section.name}</h2></div>

				<div class="grid:fr-4 g-gap-20 max">
                    {foreach from=$news item=new}
	                    <a class="news-card" href="{$SITE_URL}{$new.url}">
		                    <div class="news-card__img"><img src="{$new.image.original}" alt="{$new.title}"></div>
		                    <div class="news-card__info">
			                    <ul>
				                    <li>{$new.title}</li>
				                    <li>{$new.publishedOn|date_format:$config.date_format_custom}</li>
			                    </ul>
		                    </div>
	                    </a>
					{/foreach}
				</div>

                {* pagination *}
                {include file="modules/pagination.tpl"}
                {* /pagination *}
			</div>
		</div>
	</section>

</main>

{include file="footer.tpl"}











