{{-- resources/views/library/anthology/show.blade.php --}} @extends('layouts.library') @section('title', $anthology['title'] . ' · ' . __('library.site_name')) @push('styles') @vite('resources/css/modules/anthology.css') @endpush @section('breadcrumb') @endsection @section('hero')
{{-- 3D 书籍封面 --}} {{-- 文集信息 --}}
{{ $anthology['title'] }}
@if(!empty($anthology['subtitle']))
{{ $anthology['subtitle'] }}
@endif @if(!empty($anthology['tags']))
@foreach($anthology['tags'] as $tag) {{ $tag }} @endforeach
@endif
{{ __('library.author') }} {{ $anthology['author']['name'] }}
{{ __('library.last_updated') }} {{ $anthology['updated_at'] }}
{{ __('library.chapter_count') }} {{ $anthology['children_number'] }} {{ __('library.chapters') }}
{{ __('library.created_at') }} {{ $anthology['created_at'] }}
@if(!empty($anthology['description']))
{{ $anthology['description'] }}
@endif
@endsection @section('content')
{{-- 主内容 --}}
{{-- 关于本文集 --}} @if(!empty($anthology['about']))
{{ __('library.about_anthology') }}
@foreach(explode("\n", $anthology['about']) as $para) @if(trim($para))

{{ trim($para) }}

@endif @endforeach
@endif {{-- 目录 --}}
{{ __('library.toc') }}
{{ $anthology['children_number'] }} {{ __('library.chapters') }}
{{-- 侧边栏 --}}
{{-- 文集信息 --}}
{{ __('library.anthology_info') }}
{{ __('library.author') }} {{ $anthology['author']['name'] }}
@if(!empty($anthology['language']))
{{ __('library.language') }} {{ $anthology['language'] }}
@endif
{{ __('library.chapters') }} {{ $anthology['children_number'] }} {{ __('library.chapters') }}
{{ __('library.created') }} {{ $anthology['created_at'] }}
{{ __('library.updated') }} {{ $anthology['updated_at'] }}
@if(!empty($anthology['category']))
{{ __('library.category') }} {{ $anthology['category'] }}
@endif
{{-- 作者 --}}
{{ __('library.author') }}
{{ $anthology['author']['name'] }}
@if($anthology['author']['article_count']) {{ $anthology['author']['article_count'] }} {{ __('library.articles_suffix') }} @endif
@if(!empty($anthology['author']['bio']))
{{ $anthology['author']['bio'] }}
@endif
{{-- 相关文集 --}} @if($related->count())
{{ __('library.related_anthology') }}
@endif
@endsection