@extends('layout.app') @section('content')
@foreach([ ['Website settings', 'Name, contact details, social links, footer', '/admin/cms/settings', 'mdi-cog'], ['Blog articles', $publishedCount.' published of '.$postCount, '/admin/cms/blog', 'mdi-newspaper'], ['Contact messages', $newMessages.' new', '/admin/cms/messages', 'mdi-email'], ] as [$title, $text, $link, $icon])

{{ $title }}

{{ $text }}

@endforeach

Website pages

@csrf

Edit the text, images and links of each public page. Text uses Markdown: **bold**, ## Heading, - list item, [link text](/search).

@foreach($pages as $page) @endforeach
PageAddressSectionsStatus
{{ $page->title }} {{ parse_url(\App\Cms\Cms::pageUrl($page->slug), PHP_URL_PATH) ?: '/' }} {{ $page->sections_count }} @if($page->is_published)Published@elseUnpublished@endif @if($page->show_in_footer)In footer@endif Edit @if($page->slug !== 'home')
@csrf
@endif
@stop