@if(!empty($article->image))
 }})
@endif
@php
$tags = DB::table('tags')
->join('news_tags', 'news_tags.tag_id', '=', 'tags.id')
->where('news_tags.news_id', $article->id)
->where('tags.active', 1)
->groupBy('tags.id')
->select('tags.*')
->get();
@endphp
@if(!$tags->isEmpty())
@foreach($tags as $tag)
{{ $tag->tag }}
@endforeach
@endif