Relatieve links gefixt in Lees Ook blok

This commit is contained in:
NH Gooi
2024-10-03 19:22:25 +02:00
parent dbca7e2bc5
commit 8616cb3d56

View File

@@ -121,7 +121,7 @@
<div class="col-4">
<a href="{{ route('nieuws.detail', ['id' => $article->id, 'title' => $article->slug]) }}"
title="{{ $article->title }}">
<img src="{{ $article->image }}" alt="{{ $article->image_title }}">
<img src="{{ $article->image[0] == '/' ? '' : '/' }}{{ $article->image }}" alt="{{ $article->image_title }}">
</a>
</div>
@endif