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/SBogers10/farmfun.komma.pro/resources/views/site/templates/sitemap.blade.php
@extends('site.master')

@section('title', 'Sitemap')
@section('meta_description', '')

@section('content')
    <div class="l-main">

        <div class="o-imagebanner  o-imagebanner--medium">
            <img sizes="(max-width: 1440px) 100vw, 1440px"
                 srcset="
                    /img/team-running/team-running_717.jpg 717w,
                    /img/team-running/team-running_320.jpg 320w,
                    /img/team-running/team-running_996.jpg 996w,
                    /img/team-running/team-running_1234.jpg 1234w,
                    /img/team-running/team-running_1440.jpg 1440w"
                 src="/img/team-running/team-running_1440.jpg"
                 alt="Team photo">
        </div>

        <div class="o-block">
            <div class="l-contain  s-text">
                <h1>Sitemap</h1>

                <ul class="sitemap-list">

                    @php
                        $pages = new \Illuminate\Database\Eloquent\Collection($page->findChildren());
                        $pages = $pages->load('translation', 'translation.route');
                    @endphp

                    {{-- Generate all sitemap loop for find children except home --}}
                    @foreach($pages as $child)
                        {{--@unless($child->code_name == 'home')--}}
                        @include('site.components.sitemapLoop', ['sitemapItem' => $child])
                        {{--@endunless--}}
                    @endforeach

                </ul>
            </div>
        </div>

    </div>
@endsection