@extends('frontend.layouts.main', array('body_class' => 'blog-author')) @section('content')
{!! getMediaImg($author->media, '600x775') !!}

{{ $author->title }}

{{ $author->position_company }} @if ($author->content)
{!! $author->content !!}
@endif
@if($author->posts->count())
@if (!empty($categories))
{{ $author->title }} @lang('frontend.writes_about')
@foreach($categories as $category) {{ $category->title }} @endforeach
@endif
@foreach($author->posts as $post) @include('frontend.templates.components.posts-card', [ 'title' => $post->title, 'image' => getMediaImg($post->media, '800x800', htmlspecialchars($post->title)), 'link' => lang_url($post->lang_uri), 'date' => format_date($post->date), ]) @endforeach
@endif
@include('frontend.templates.blocks.newsletter-v2') @stop