Render articles directly from block source instead of prerendered text
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user