@push('title', $article->title)
{{ $article->user && !$article->user->hidden_staff ? $article->user->permission->rank_name ?? 'Member' : 'Member' }}

{{ $article->user->username ?? setting('hotel_name') }}

{{ $article->user->motto ?? setting('start_motto') }}

@if($article->user)
@endif
{{ __('Other articles') }} {{ __('Our most recent articles') }}
@forelse($otherArticles as $art) {{ Str::limit($art->title, 20) }} @empty

{{ __('There is currently no other articles') }}

@endforelse

{{ $article->title }}

{{ $article->short_story }}

{!! $article->full_story !!}
@forelse ($article->tags as $tag) $tag->background_color, "text-white" => $tag->background_color ]) style="background-color: {{ $tag->background_color }}">{{ $tag->name }} @empty {{ __('No tags found.') }} @endforelse
@include('community.partials.article-reactions')
@if ($article->can_comment) @if (auth()->check() && !$article->userHasReachedArticleCommentLimit()) {{ __('Post a comment') }} {{ __('Post a comment on the article, to let us know what you think about it') }}
@csrf {{ __('Post comment') }}
@endif {{ __('Comments') }} {{ __('Below you will see all the comments, written on this article') }}
@foreach ($article->comments->sortByDesc('created_at') as $comment)
{{ $comment->user->username }}

{{ $comment->comment }}

{{ $comment->created_at->diffForHumans() }}

@if ($comment->canBeDeleted())
@method('DELETE') @csrf
@endif
@endforeach
@endif