2024-04-23 23:55:48 +02:00
|
|
|
@extends('layouts.main')
|
|
|
|
|
|
|
|
@section('main')
|
|
|
|
<article id="article-main">
|
|
|
|
<header>
|
|
|
|
@if (empty($bundle->metadata()->get('hide_title')))
|
|
|
|
<h1>{{ $articleTitle }}</h1>
|
|
|
|
@endif
|
|
|
|
@if (!empty($date))
|
|
|
|
<time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (!empty($cover))
|
|
|
|
{!! $cover !!}
|
|
|
|
@endif
|
|
|
|
</header>
|
|
|
|
|
|
|
|
@if (!empty($body))
|
|
|
|
<section id="article-body">
|
|
|
|
{!! $body !!}
|
|
|
|
</section>
|
|
|
|
@endif
|
|
|
|
</article>
|
|
|
|
|
|
|
|
@if (!empty($pagination['items']))
|
|
|
|
<x-pagination :data="$pagination" />
|
|
|
|
@endif
|
|
|
|
@endsection
|