<commit_before><!doctype html>
<html lang="{{ config('app.locale') }}">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>@yield('title')</title>
    <meta name="description" content="@yield('description')">
    <meta name="keywords" content="@yield('keywords')">

    <meta property="og:site_name" content="{{ $websiteTitle }}">
    <meta property="og:title" content="@yield('ogTitle')">
    <meta property="og:description" content="@yield('description')">
    <meta property="og:type" content="website">
    <meta property="og:url" content="{{ URL::full() }}">
    <meta property="og:image" content="@yield('image')">

    <link href="{{ elixir('css/public.css') }}" rel="stylesheet">

    @yield('css')

    @if(config('typicms.typekit_code'))
    <script type="text/javascript" src="//use.typekit.net/{{ config('typicms.typekit_code') }}.js"></script>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
    @endif

    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body class="body-{{ $lang }} @yield('bodyClass') @if(Auth::user() and Auth::user()->inGroup('Admin') and ! Input::get('preview'))has-navbar @endif">

    <a href="#content" class="skip-to-content">@lang('db.Skip to content')</a>

@if(Auth::user() and Auth::user()->inGroup('Admin') and ! Input::get('preview'))
    @include('core::_navbar')
@endif

    <div class="container" id="content">

        @section('header')
        <header class="header-main">
            <h1>
                <a href="{{ TypiCMS::homepage() }}">
                    {!! TypiCMS::logoOrTitle() !!}
                </a>
            </h1>
        </header>
        @show

        @section('languagesMenu')
            @include('core::public._languages-menu')
        @show

        @section('mainMenu')
        <nav class="nav-main" role="navigation">
            {!! Menus::render('main') !!}
        </nav>
        @show

        @include('core::public._alert')

        @yield('main')

        @section('footer')
        <footer class="footer-main">
            <nav class="nav-social">
                {!! Menus::render('social') !!}
            </nav>
            <nav class="nav-footer" role="navigation">
                {!! Menus::render('footer') !!}
            </nav>
        </footer>
        @show

    </div>

    @if(App::environment('production') and config('typicms.google_analytics_code'))

    <script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
        ga('create', '{{ config('typicms.google_analytics_code') }}', 'auto');
        ga('send', 'pageview');
    </script>

    @endif

    <script src="{{ elixir('js/public/components.min.js') }}"></script>
    <script src="{{ elixir('js/public/master.js') }}"></script>
    @if (Input::get('preview'))
    <script src="{{ asset('js/public/previewmode.js') }}"></script>
    @endif

    @yield('js')

</body>

</html>
<commit_msg>hasRole in place of inGroup<commit_after><!doctype html>
<html lang="{{ config('app.locale') }}">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>@yield('title')</title>
    <meta name="description" content="@yield('description')">
    <meta name="keywords" content="@yield('keywords')">

    <meta property="og:site_name" content="{{ $websiteTitle }}">
    <meta property="og:title" content="@yield('ogTitle')">
    <meta property="og:description" content="@yield('description')">
    <meta property="og:type" content="website">
    <meta property="og:url" content="{{ URL::full() }}">
    <meta property="og:image" content="@yield('image')">

    <link href="{{ elixir('css/public.css') }}" rel="stylesheet">

    @yield('css')

    @if(config('typicms.typekit_code'))
    <script type="text/javascript" src="//use.typekit.net/{{ config('typicms.typekit_code') }}.js"></script>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
    @endif

    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body class="body-{{ $lang }} @yield('bodyClass') @if(Auth::user() and Auth::user()->hasRole('Admin') and ! Input::get('preview'))has-navbar @endif">

    <a href="#content" class="skip-to-content">@lang('db.Skip to content')</a>

@if(Auth::user() and Auth::user()->hasRole('Admin') and ! Input::get('preview'))
    @include('core::_navbar')
@endif

    <div class="container" id="content">

        @section('header')
        <header class="header-main">
            <h1>
                <a href="{{ TypiCMS::homepage() }}">
                    {!! TypiCMS::logoOrTitle() !!}
                </a>
            </h1>
        </header>
        @show

        @section('languagesMenu')
            @include('core::public._languages-menu')
        @show

        @section('mainMenu')
        <nav class="nav-main" role="navigation">
            {!! Menus::render('main') !!}
        </nav>
        @show

        @include('core::public._alert')

        @yield('main')

        @section('footer')
        <footer class="footer-main">
            <nav class="nav-social">
                {!! Menus::render('social') !!}
            </nav>
            <nav class="nav-footer" role="navigation">
                {!! Menus::render('footer') !!}
            </nav>
        </footer>
        @show

    </div>

    @if(App::environment('production') and config('typicms.google_analytics_code'))

    <script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
        ga('create', '{{ config('typicms.google_analytics_code') }}', 'auto');
        ga('send', 'pageview');
    </script>

    @endif

    <script src="{{ elixir('js/public/components.min.js') }}"></script>
    <script src="{{ elixir('js/public/master.js') }}"></script>
    @if (Input::get('preview'))
    <script src="{{ asset('js/public/previewmode.js') }}"></script>
    @endif

    @yield('js')

</body>

</html>

{'fraction_non_alphanumeric': 0.23011120615911035, 'fraction_numerical': 0.005417735956658112, 'mean_word_length': 3.2386706948640485, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 121, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '403119', 'n_tokens_mistral': 2415, 'n_tokens_neox': 2308, 'n_words': 336}