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

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

@section('content')
    <section class="l-contain simplepage">

        <div class="s-text" style="padding: 40px 0;">

            <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>

    </section>
@endsection