Tag/region/theme pages: all articles as compact rows, like /nieuws

The first 6 articles used card markup from the old Pressroom theme
(column_1_2, auto_height, read_more) whose styles no longer exist, so they
showed a tiny image and an unstyled 'Lees verder'. All articles now use
the same compact rows (partial/newslist_small) and row height as /nieuws.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
eric.busandClaude Opus 5.5 committed 2026-11-24 12:25:25 +01:00
1 parent f7b1dbac8f
commit 9d9917eea5
1 file changed
+4 -56
+4 -56
View File
@@ -10,7 +10,8 @@
news_post post_container
@endsection
@section('page_container_class')
grey_background
{{-- 'news': same list rows as on /nieuws --}}
grey_background news
@endsection
@section('site_container_class')
grey_background
@@ -30,62 +31,9 @@
@section('content')
<div class="post_body">
{{-- Nieuws komt met 15 berichten per pagina. Deel op in 3 x 2-breed + 3 x 3-breed --}}
@foreach(array_slice($news, 0, 6) as $item)
@if($loop->index % 2 == 0)
<div class="row">
@endif
<div class="column column_1_2">
<ul class="blog">
<li class="post auto_height">
<a href="{{url($item->url)}}" title="{{$item->title}}">
@if($item->video)
<span class="icon video"></span>
@elseif($item->images && count($item->images) > 1)
<span class="icon gallery"></span>
@endif
<img src='{{$item->images && count($item->images) ? $imgBase . $item->images[0]->url : '/images/noimage.svg'}}'
alt='img'>
</a>
<h2 class="post_title"><a href="{{url($item->url)}}"
title="{{strip_tags($item->title)}}">{!!$item->title!!}</a>
</h2>
<ul class="post_details clearfix">
@foreach($item->tags as $tag)
<li class="detail category"><i class="fa-solid fa-location-dot"></i> <a
href="{{route('nieuws.tag', $tag->slug)}}"
title="{{$tag->titel}}">{{$tag->titel}}</a></li>
@endforeach
@if($item->edited && ($item->edited != $item->published))
<li class="date edited">
<i class="fa-regular fa-clock"></i>
Bijgewerkt:
@if($item->edited->format('d m') != $item->published->format('d m'))
{{Formatter::relativeDate($item->edited)}} om
@endif
{{$item->edited->format('H:i')}} uur
</li>
@else
<li class="date">
<i class="fa-regular fa-clock"></i>
{{Formatter::relativeDate($item->published)}}
om {{$item->published->format('H:i')}} uur
</li>
@endif
</ul>
<p>{!!Formatter::excerpt($item->content, 150)!!}</p>
<a class="read_more" href="{{url($item->url)}}" title="Lees verder"><span
class="arrow"></span><span>Lees verder...</span></a>
</li>
</ul>
</div>
@if($loop->index % 2 == 1)
</div>
@endif
@endforeach
{{-- All articles as compact rows, the same as on /nieuws and the homepage lists --}}
<div id="items">
@include('partial/newslist_small', ['id' => 'items-more-news', 'news' => array_slice($news, 6, count($news))])
@include('partial/newslist_small', ['id' => 'items-more-news', 'news' => $news])
</div>
@if(count($news) >= 15)