Render articles directly from block source instead of prerendered text

This commit is contained in:
NH Gooi committed 2025-03-18 21:51:18 +01:00
1 parent 37745e8ae9
commit 2e1f496eea
2 files changed
+13 -9

No files matched your search

+4 -2
View File
@@ -87,8 +87,10 @@
@endif
@endif
@if(is_array($news->content))
@include('partial/nh_story', ['content' => $news->content])
@if($type == "nhnieuws")
@include('partial/nh_story', ['content' => $news->content])
@elseif($type == "artikel")
@include('partial/block_story', ['content' => $news->content])
@else
<div class="text">
<p>{!!$news->content!!}</p>