{{ $article->title }} @if ($article->noindex && $article->nofollow) @elseif ($article->noindex) @elseif ($article->nofollow) @endif
@if ($article->image)
@endif @php $socialLink = new \SocialLinks\Page([ 'url' => route('articles.show', $article->slug), 'title' => $article->title, 'text' => $article->description, 'image' => $article->image, // 'icon' => $settings['icon'] ?? '', // 'twitterUser' => '@twitterUser', ]); @endphp

{{ $article->title }}

{{ str( __('Posted :at by :user in :categories', [ 'categories' => $article->articleCategories ? collect($article->articleCategories)->transform(function ($c) { return '' . $c->name . ''; })->join(', ') : __('all categories'), 'at' => $article->created_at->diffForHumans(), 'user' => '' . $article->user->displayName . '', ]), )->toHtmlString() }}

{{ $article->description }}

{{ parse_markdown($article->body) }}
@if ($article->extra_attributes->isNotEmpty())
@foreach ($article->extra_attributes as $key => $value)
{{ $key }}
{{ filter_var($value, FILTER_VALIDATE_URL) !== false ? str('')->toHtmlString() : $value }}
@endforeach
@endif