fix: use correct viewheloper to link news detail page

This commit is contained in:
Björn Fromme
2025-07-24 17:23:53 +02:00
parent 22f925b45b
commit c1d7898f77
@@ -28,12 +28,12 @@
</f:if>
</div>
<div class="md:flex-1">
<a href="{f:uri.typolink(parameter: newsItem.newsLink)}" class="peer">
<n:link newsItem="{newsItem}" settings="{settings}" class="peer">
<h3 class="blog-entry__headline">
{newsItem.title}
</h3>
<span class="absolute inset-0"></span>
</a>
</n:link>
<p class="text-sm italic mb-4">
<f:if condition="{newsItem.author}">{newsItem.author} am </f:if>
<time datetime="{f:format.date(date:newsItem.datetime, format:'Y-m-d')}"><f:format.date format="{f:translate(key:'dateFormat')}">{newsItem.datetime}</f:format.date></time>