@extends('layouts.app') @section('metas') @endsection @section('content')
@if ($article->media_type == 'video')
{!! $article->podcast_js_src !!} @else @endif
{!! strip_tags($article->caption) !!}
@if ($magazine && $article->media_type == 'text')
{{ $magazine->number }}
@elseif ($article->media_type == 'podcast')
@endif
{{ @$article->subject->name }}

{{ $article->title }}

{!! $article->meta_description !!}

@if($article->author) Por {{ $article->author->name }} {{ $article->author->surname }} @endif
{!! $article->notes !!}
@if ($article->media_type == 'podcast')
{!! $article->podcast_js_src !!}
@endif {!! $article->content !!}
@if ($author = $article->author)
@endif @if ($related)

Continúa leyendo esta edición de Liber

{{ @$related->subject->name }}

{!! strip_tags($related->title) !!}

{!! mb_strimwidth(strip_tags($related->meta_description), 0, 130, '...') !!}

@if($related->author) Por {{ $related->author->name }} {{ $related->author->surname }} @endif
@endif @if (count($interest) > 0)
@if (in_array($article->media_type, ['video', 'podcast']))

Continuar

@else

Te podría interesar

@endif
@foreach($interest as $r)

{!! strip_tags($r->title) !!}

{!! mb_strimwidth(strip_tags($r->meta_description), 0, 130, '...') !!}

@if($r->author) Por {{ $r->author->name }} {{ $r->author->surname }} @endif
@endforeach
@endif
@if ($json = json_decode($article->pdf))
@endif @endsection