From: Vincent Vanwaelscappel Date: Wed, 28 Aug 2019 17:25:35 +0000 (+0200) Subject: wip #2965 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fbe01838a12d2696945636ab89c94d106c172d61;p=cubist_cms-front.git wip #2965 @0:10 --- diff --git a/resources/views/head/head.blade.php b/resources/views/head/head.blade.php index f42b4ed..90bca9b 100644 --- a/resources/views/head/head.blade.php +++ b/resources/views/head/head.blade.php @@ -3,6 +3,7 @@ @include('cubist::head.opengraph') @include('cubist::head.twittercard') @include('cubist::head.link') +@include('cubist::head.pwa') @stack('stylesheets') @include('googletagmanager::head') @include('gtag::head') diff --git a/resources/views/head/meta.blade.php b/resources/views/head/meta.blade.php index b9915c2..fd4a994 100644 --- a/resources/views/head/meta.blade.php +++ b/resources/views/head/meta.blade.php @@ -2,6 +2,8 @@ $search_enabled=!!config('cubist.internal_search',false); $page_short_title=$page->get(['title','name']); + $global_robots=config('cubist.seo_robots',true); + if($search_enabled){ $search_breadcrumbs=[]; @@ -20,8 +22,6 @@ $type=mb_strtolower(array_pop($t)); } - - if(isset($page)){ $title= $meta_title ?? $page->meta_title ?? $page_short_title.' - '.$global->meta_title; $description= $meta_description ?? $page->meta_description ?? $global->meta_description; @@ -37,7 +37,7 @@ - + @if($search_enabled) + + +