<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "{{ news.title }}",
"alternativeHeadline": "{{ news.subtitle|striptags }}",
"datePublished": "{{ news.publishDate|date('c') }}",
"dateModified": "{{ news.updatedAt|date('c') }}",
"author": {
"@type": "Organization",
"name": "{{ sitename }}"
},
"publisher": {
"@type": "Organization",
"name": "{{ sitename }}",
"logo": {
"@type": "ImageObject",
"url": "{{ siteurl }}{{ imageCache(asset('build/images/kas-scaffolding-logo.png'), 'cropResize', 600, 232) }}",
"width": 600,
"height": 232
}
},
"image": {
"@type": "ImageObject",
"url": "{{ siteurl }}{{ imageCache('/userfiles/images/news/' ~ news.image, 'zoomCrop', 800, 600) }}",
"width": 800,
"height": 600
},
"description": "{{ news.kicker|raw|striptags }}",
"articleBody": "{{ news.content|html_entity_decode|replace({'\n': ' ', '\r': ' '})|striptags }}"
}
</script>
{% if news.image %}
<div class="banner-image banner-image--gradient lazyBackgroundImage" data-mobile="{{ imageCache('/'~ news.getFullImagePath, 'zoomCrop', 1566, 822) }}" data-desktop="{{ imageCache('/'~ news.getFullImagePath, 'zoomCrop', 3200, 1680) }}"></div>
{% endif %}
<section class="page-content {% if news.image == null %} pt-[148px] md:pt-[163px]{% endif %}">
<div class="container">
<div class="bg-primary text-center text-white px-10 py-12 relative z-20 mb-12 {% if news.image != null %} -mt-12 sm:-mt-24 md:-mt-52{% else %}mt-12{% endif %}">
<h1 class="text-white">{{ allowInlineEditor(news, 'title')|raw }}</h1>
{% if news.subtitle %}
<h3 class="text-white">{{ allowInlineEditor(news, 'subtitle')|striptags }}</h3>
{% endif %}
{% if news.kicker %}
{{ allowInlineEditor(news, 'kicker')|raw }}
{% endif %}
{% if news.publishDate %}
<p class="text-sm text-white mb-0">{{ news.publishDate|date('d F Y') }}</p>
{% endif %}
</div>
{% if news.content %}
<div class="row cms-area mb-12 blog-article">
<div class="md:col-10 md:offset-1">
{{ allowInlineEditor(news, 'content')|raw }}
</div>
</div>
{% endif %}
{% if news.image2 or news.image3 %}
<div class="row mb-12">
{% if news.image2 %}
<div class="sm:col-6 mb-8 sm:mb-0">
<img src="{{ imageCache('/'~ news.getFullImage2Path, 'zoomCrop', 1140, 1040) }}" width="670" height="612" alt="{{ news.title }}" loading="lazy" />
</div>
{% endif %}
{% if news.image3 %}
<div class="sm:col-6">
<img src="{{ imageCache('/'~ news.getFullImage3Path, 'zoomCrop', 1140, 1040) }}" width="670" height="612" alt="{{ news.title }}" loading="lazy" />
</div>
{% endif %}
</div>
{% endif %}
{% if news.content2 %}
<div class="row cms-area mb-12 blog-article">
<div class="md:col-10 md:offset-1">
{{ allowInlineEditor(news, 'content2')|raw }}
</div>
</div>
{% endif %}
</div>
</section>
{# {% if prev or next %}
<div class="row mt-10">
<div class="col-12 flex">
{% if prev %}
<a class="btn btn-primary mr-auto" href="{{ generatePath( app.request, prev.linkedPageId, {'news_slug' : prev.slug } ) }}"><i class="fa-regular fa-arrow-left"></i> Previous</a>
{% endif %}
{% if next %}
<a class="btn btn-primary ml-auto" href="{{ generatePath( app.request, next.linkedPageId, {'news_slug' : next.slug } ) }}">Next <i class="fa-regular fa-arrow-right"></i></a>
{% endif %}
</div>
</div>
{% endif %} #}