@extends($_viewFrame)

@section('pageTitleMain',htmlspecialchars($record['title']))

@section('bodyContent')

    <div class="ub-container">

        <div class="ub-panel margin-top" style="padding:1rem;max-width:800px;margin:0 auto;">
            <div class="body">
                <div class="ub-article">
                    <h1 class="ub-text-center">{{$record['title']}}</h1>
                    <div class="cover">
                        <img src="{{\ModStart\Core\Assets\AssetsUtil::fix($record['cover'])}}" />
                    </div>
                    <div class="content ub-html">
                        {!! \ModStart\Core\Util\HtmlUtil::replaceImageSrcToLazyLoad($record['content'],'data-src',true) !!}
                    </div>
                    <div>
                        @include('module::Vendor.View.public.shareButtons')
                    </div>
                </div>
            </div>
        </div>

    </div>

@endsection





