Remove images from NH articles due to potential copyright issues
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
@foreach($content as $block)
|
||||
@if($block->type == "headerRichA")
|
||||
{{--
|
||||
@php($block->image->url = isset($block->image->crops)
|
||||
? $block->image->crops->{'16:9'}->{'1600'}
|
||||
: $block->image->crop)
|
||||
@@ -42,6 +43,7 @@
|
||||
<span class="author">{{$block->image->author}}</span>
|
||||
@endif
|
||||
</div>
|
||||
--}}
|
||||
@elseif($block->type == "text")
|
||||
<div class="text">{!!$block->text!!}</div>
|
||||
@elseif($block->type == "intro")
|
||||
@@ -67,6 +69,7 @@
|
||||
$image = $block->image->imageHigh;
|
||||
else $image = null;
|
||||
?>
|
||||
{{--
|
||||
@if($image)
|
||||
<a class="post_image page_margin_top prettyPhoto" rel="prettyPhoto" href="{{$image}}"
|
||||
title="{{$block->image->title}} © {{$block->image->author}}">
|
||||
@@ -89,6 +92,7 @@
|
||||
{!!$sentence!!}
|
||||
</div>
|
||||
@endif
|
||||
--}}
|
||||
@elseif($block->type == "video" || $block->type == "headerVideo")
|
||||
@include('widgets/mediaplayer')
|
||||
<?php
|
||||
@@ -150,7 +154,10 @@
|
||||
<div class="col-4">
|
||||
<a href="{{ route('nieuws.detail', ['id' => $article->id, 'title' => $article->slug]) }}"
|
||||
title="{{ $article->title }}">
|
||||
{{--
|
||||
<img src="{{ $article->image[0] == '/' ? '' : '/' }}{{ $article->image }}" alt="{{ $article->image_title }}">
|
||||
--}}
|
||||
<img src="/images/logo-NHGooi.svg" style="object-fit: contain;" alt="{{ $article->title }}">
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user