@extends('layouts.app') @section('title', $category->seo_title ?: $category->name.' Content') @section('meta_description', $category->seo_description ?: ($category->description ?: 'Browse '.$category->name.' content downloads.')) @section('meta_keywords', $category->seo_keywords ?: strtolower($category->name.', '.$category->name.' content, free download')) @section('canonical', request()->fullUrl()) @section('content')

{{ $category->name }}

@if ($category->description)

{{ $category->description }}

@endif @if ($hasChildren)
@foreach ($subcategories as $sub)
📁

{{ $sub->name }}

{{ number_format((int) ($sub->nested_ringtones_count ?? 0)) }} files

@endforeach
@else
@forelse ($ringtones as $ringtone) @include('frontend.partials.content-card', ['ringtone' => $ringtone]) @empty

No content in this category yet.

@endforelse
@if ($ringtones instanceof \Illuminate\Contracts\Pagination\Paginator)
{{ $ringtones->links() }}
@endif @endif @endsection