<commit_before>@extends('pages::public.master')

@section('site-title')
<h1 class="site-title">@include('core::public._site-title')</h1>
@endsection

@section('page')

    {!! $page->present()->body !!}

    @include('galleries::public._galleries', ['model' => $page])

{{--
    @if($slides = Slides::all() and $slides->count())
        @include('slides::public._slider', ['items' => $slides])
    @endif
--}}

{{--
    @if($latestNews = News::latest(3) and $latestNews->count())
        <div class="container-news">
            <h2>@lang('db.Latest news')</h2>
            @include('news::public._list', ['items' => $latestNews])
            <a href="{{ route($lang.'::index-news') }}" class="btn btn-default btn-xs">@lang('db.All news')</a>
        </div>
    @endif
--}}

{{--
    @if($upcomingEvents = Events::upcoming() and $upcomingEvents->count())
        <div class="container-events"><commit_msg>page thumb shown on public side<commit_after>@extends('pages::public.master')

@section('site-title')
<h1 class="site-title">@include('core::public._site-title')</h1>
@endsection

@section('page')

    {!! $page->present()->thumb(200, 200) !!}

    {!! $page->present()->body !!}

    @include('galleries::public._galleries', ['model' => $page])

{{--
    @if($slides = Slides::all() and $slides->count())
        @include('slides::public._slider', ['items' => $slides])
    @endif
--}}

{{--
    @if($latestNews = News::latest(3) and $latestNews->count())
        <div class="container-news">
            <h2>@lang('db.Latest news')</h2>
            @include('news::public._list', ['items' => $latestNews])
            <a href="{{ route($lang.'::index-news') }}" class="btn btn-default btn-xs">@lang('db.All news')</a>
        </div>
    @endif
--}}

{{--
    @if($upcomingEvents = Events::upcoming() and $upcomingEvents->count())
        <div class="container-events">
{'fraction_non_alphanumeric': 0.24746666666666667, 'fraction_numerical': 0.008533333333333334, 'mean_word_length': 3.6093366093366095, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '120542', 'n_tokens_mistral': 642, 'n_tokens_neox': 631, 'n_words': 94}