{{-- resources/views/library/anthology/show.blade.php --}} @extends('layouts.library') @section('title', $anthology['title'] . ' · 巴利书库') @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
作者 {{ $anthology['author']['name'] }}
最后更新 {{ $anthology['updated_at'] }}
章节数 {{ $anthology['children_number'] }} 章节
创建时间 {{ $anthology['created_at'] }}
@if(!empty($anthology['description']))
{{ $anthology['description'] }}
@endif
@if(!empty($anthology['articles'])) 在线阅读 @endif 在编辑器中打开
@endsection @section('content')
{{-- 主内容 --}}
{{-- 关于本文集 --}} @if(!empty($anthology['about']))
关于本文集
@foreach(explode("\n", $anthology['about']) as $para) @if(trim($para))

{{ trim($para) }}

@endif @endforeach
@endif {{-- 目录 --}}
目录
{{ $anthology['children_number'] }} 章节
{{-- 侧边栏 --}}
{{-- 文集信息 --}}
文集信息
@if(!empty($anthology['language']))
语言 {{ $anthology['language'] }}
@endif
章节 {{ $anthology['children_number'] }} 章节
创建 {{ $anthology['created_at'] }}
更新 {{ $anthology['updated_at'] }}
@if(!empty($anthology['category']))
分类 {{ $anthology['category'] }}
@endif
{{-- 作者 --}}
作者
{{ $anthology['author']['name'] }}
@if($anthology['author']['article_count']) {{ $anthology['author']['article_count'] }} 篇文章 @endif
@if(!empty($anthology['author']['bio']))
{{ $anthology['author']['bio'] }}
@endif
{{-- 相关文集 --}} @if($related->count())
相关文集
@endif
@endsection