HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers84/zuiderbos.nl/app/views/layouts/partials/posts/_index.blade.php
<section class="news-overview">

    <div class="grid-row">
        <span class="styling"></span>

        <div class="overview-placeholder grid-col offset-1 col-11">
            {{-- Return link --}}
            <div class="return-link">
                <?php $pageParent = $page->getParent(); ?>
                <a href="/{{$links->{$pageParent->code_name}->route}}">
                    {{ KommaLang::get('returnTo') }} ‘{{$links->{$pageParent->code_name}->name}}’
                </a>
            </div>

            {{-- Make header and pagination if needed --}}
            <div class="overview-header grid-row full-row">
                <h1 class="grid-col col-7">{{$page->translation->name}}</h1>

                <div class="pagination grid-col col-7">
                    @if(method_exists($news, 'links'))
                        {{$news->links('layouts.partials.posts.pagination')}}
                    @endif
                </div>
            </div>


            {{-- Loop through news for this pagination page--}}
            <div class="grid-row full-row articles">
                @include('layouts.partials.posts.newsLoop')
            </div>
        </div>

    </div>
</section>