@include('cubist::head.opengraph')
@include('cubist::head.twittercard')
@include('cubist::head.link')
+@include('cubist::head.pwa')
@stack('stylesheets')
@include('googletagmanager::head')
@include('gtag::head')
$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=[];
$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;
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no">
<meta name="description" content="{{ $description }}">
-<meta name="robots" content="{{ $robots?'index,follow':'noindex,nofollow' }}">
+<meta name="robots" content="{{ ($global_robots && $robots)?'index,follow':'noindex,nofollow' }}">
@if($search_enabled)
<meta data-search="{{ $search_page }}" data-keywords="{{ $search_keywords }}"
data-short-title="{{ $search_short_title }}" data-type="{{ $type }}"
--- /dev/null
+
+<link rel="manifest" href="/manifest.webmanifest">
+<meta name="msapplication-TileColor" content="{{ $global->pwa_theme_color }}">
+<meta name="msapplication-TileImage" content="/images/favicon/ms-icon-144x144.png">
+<meta name="theme-color" content="{{ $global->pwa_theme_color }}">