@extends(Theme::wrapper()) @section('title', $page->getTranslation()->title) @section('container')
@if($page->getTopmostAncestor() and $page->getTopmostAncestor()->childrenCached()->isNotEmpty()) @php($ancestor = $page->getTopmostAncestor())
{!! $ancestor->getMeta('icon') !!}
{{ $ancestor->getTranslation()->title }}
@foreach($ancestor->childrenCached() as $subpage) @if($subpage->childrenCached()->isNotEmpty()) @include(Theme::moduleView('pageplus', 'elements.components.nav-children-dropdown'), ['parent' => $subpage]) @else
{!! $subpage->getMeta('icon') !!}
{{ $subpage->getTranslation()->title }}
@endif @endforeach
@endif

{{ $page->getTranslation()->title }}

{!! $page->getTranslation()->content !!}
@endsection