File: D:/HostingSpaces/SBogers10/ijzerenman.komma.pro/app/views/layouts/pages/sitemap.blade.php
@extends('layouts.master')
@section('content')
@include('layouts.partials.breadcrumb')
<div class="content-block">
<div class="description {{ $class or '' }}">
<h2>{{ $title }}</h2>
<div class="waves-holder">
<span class="waves"></span>
</div>
<ul class="sitemap">
@foreach($globals as $key => $global)
<li>
<a href="{{ $global->route }}" class="title">{{ $global->name }}</a>
<ul>
@if(count($global->children))
@foreach($global->children as $page)
<li><a href="/{{ $page->route }}" data-color="{{ Str::lower($global->name) }}">{{ $page->name }}</a></li>
@endforeach
@endif
</ul>
</li>
@if($key == 2)
</ul>
<ul class="sitemap">
@endif
@endforeach
</ul>
{{-- <ul>
@foreach($items as $item)
<li>
<a href="{{ $item['loc'] }}">{{ (empty($item['title'])) ? $item['loc'] : $item['title'] }}</a>
</li>
@endforeach
</ul>--}}
</div>
</div>
@stop