1- <!-- Standard SEO -->
21@isset ($title )
32 <title >{{ $title } } </title >
43@endisset
54
5+ <meta name =" robots" content =" index, follow" >
66<meta http-equiv =" Content-Type" content =" text/html; charset=utf-8" >
7+ <meta name =" viewport" content =" width=device-width, initial-scale=1.0" >
8+ <link rel =" sitemap" type =" application/xml" title =" Sitemap" href =" {{ url (' sitemap.xml' ) } }" >
9+
710<meta name =" referrer" content =" {{ ! empty ($referrer )? $referrer : config (' laravel-seo-manager.referrer' ) } }" >
811<meta name =" robots" content =" {{ ! empty ($robots )? $robots : config (' laravel-seo-manager.robots' ) } }" >
912<meta name =" description" content =" {{ ! empty ($description )? $description : config (' laravel-seo-manager.description' ) } }" >
1013<meta name =" keywords" content =" {{ ! empty ($keywords )? $keywords : config (' laravel-seo-manager.keywords' ) } }" >
14+
1115@if (config (' laravel-seo-manager.geo_region' ) !== ' ' )
1216<meta name =" geo.region" content =" {{ config (' laravel-seo-manager.geo_region' ) } }" >
1317@endif
18+
1419@if (config (' laravel-seo-manager.geo_position' ) !== ' ' )
1520<meta name =" geo.position" content =" {{ config (' laravel-seo-manager.geo_position' ) } }" >
1621<meta name =" ICBM" content =" {{ config (' laravel-seo-manager.geo_position' ) } }" >
1722@endif
23+
1824<meta name =" geo.placename" content =" {{ config (' app.name' ) } }" >
25+ <meta name =" author" content =" {{ ! empty ($author )? $author : env (' APP_NAME' ) } }" >
26+ <meta name =" Language" content =" {{ str_replace (' _' , ' -' , app ()-> getLocale ()) } }" >
27+ <link rel =" canonical" href =" {{ ! empty ($canonical )? $canonical : url (' /' ) } }" >
28+
29+ @if (! empty ($manifest ) || config (' laravel-seo-manager.manifest' ) !== ' ' )
30+ <link rel =" manifest" href =" {{ ! empty ($manifest )? $manifest : config (' laravel-seo-manager.manifest' ) } }" >
31+ @endif
32+ @if (! empty ($theme_color ) || config (' laravel-seo-manager.theme_color' ) !== ' ' )
33+ <meta name =" theme-color" content =" {{ ! empty ($theme_color )? $theme_color : config (' laravel-seo-manager.theme_color' ) } }" >
34+ @endif
35+
36+ @if (! empty ($mobile_web_app_capable ) || config (' laravel-seo-manager.mobile_web_app_capable' ) !== ' ' )
37+ <meta name =" mobile-web-app-capable" content =" {{ ! empty ($mobile_web_app_capable )? $mobile_web_app_capable : config (' laravel-seo-manager.mobile_web_app_capable' ) } }" >
38+ <meta name =" apple-mobile-web-app-status-bar-style" content =" black" >
39+ @endif
40+
41+ <link rel =" shortcut icon" href =" {{ getSystemImage (path : $SYSTEM_CONFIG [' System_Favicon_Logo' ] ?? ' ' , type :' logo-sm' ) } }" >
42+
43+ <link rel =" apple-touch-icon" href =" {{ getSystemImage (path : $SYSTEM_CONFIG [' System_Favicon_Logo_96' ] ?? ' ' , type :' logo-sm' ) } }" >
44+ <link rel =" apple-touch-icon" sizes =" 152x152" href =" {{ getSystemImage (path : $SYSTEM_CONFIG [' System_Favicon_Logo_144' ] ?? ' ' , type :' logo-sm' ) } }" >
45+ <link rel =" apple-touch-icon" sizes =" 167x167" href =" {{ getSystemImage (path : $SYSTEM_CONFIG [' System_Favicon_Logo_168' ] ?? ' ' , type :' logo-sm' ) } }" >
46+ <link rel =" apple-touch-icon" sizes =" 180x180" href =" {{ getSystemImage (path : $SYSTEM_CONFIG [' System_Favicon_Logo_192' ] ?? ' ' , type :' logo-sm' ) } }" >
47+
48+ @if (! empty ($meta [' title' ]) )
49+ <title >{{ $meta [' title' ] } } {{ config (' System_Page_Separator_And_Tagline' , env (' APP_NAME' )) } } </title >
50+ <meta name =" twitter:title" content =" {{ $meta [' title' ] } } | {{ config (' app.name' , ' Infinity' ) } }" >
51+ <meta name =" dcterms.Title" content =" {{ $meta [' title' ] } } | {{ config (' app.name' , ' Infinity' ) } }" >
52+ <meta property =" og:title" content =" {{ $meta [' title' ] } } | {{ config (' app.name' , ' Infinity' ) } }" >
53+ <meta http-equiv =" Content-Type" content =" text/html; charset=utf-8" >
54+ <meta itemprop =" name" content =" {{ $meta [' title' ] } } {{ config (' System_Page_Separator_And_Tagline' , env (' APP_NAME' )) } }" >
55+ @endif
56+
57+ @if (! empty ($meta [' description' ]) )
58+ <meta name =" description" content =" {{ substr (strip_tags (str_replace (' ' , ' ' , $meta [' description' ])), 0 , 155 ) } }" >
59+ <meta name =" twitter:description" content =" {{ substr (strip_tags (str_replace (' ' , ' ' , $meta [' description' ])), 0 , 155 ) } }" >
60+ <meta name =" dcterms.Description" content =" {{ substr (strip_tags (str_replace (' ' , ' ' , $meta [' description' ])), 0 , 155 ) } }" >
61+ <meta property =" og:description" content =" {{ substr (strip_tags (str_replace (' ' , ' ' , $meta [' description' ])), 0 , 155 ) } }" >
62+ <meta name =" twitter:description" content =" {{ substr (strip_tags (str_replace (' ' , ' ' , $meta [' description' ])), 0 , 155 ) } }" >
63+ <meta itemprop =" description" content =" {{ substr (strip_tags (str_replace (' ' , ' ' , $meta [' description' ])), 0 , 155 ) } }" >
64+ @endif
65+
66+ @if (! empty ($meta [' keywords' ]) )
67+ <meta name =" keywords" content =" {{ $meta [' keywords' ] } }" >
68+ <meta name =" dcterms.Subject" content =" {{ $meta [' keywords' ] } }" >
69+ @endif
70+
71+ @if (! empty ($meta [' image' ]) )
72+ <meta property =" og:image" content =" {{ $meta [' image' ] } }" >
73+ <meta name =" twitter:image" content =" {{ $meta [' image' ] } }" >
74+ <meta itemprop =" image" content =" {{ $meta [' image' ] } }" >
75+ @endif
76+
77+ @if (isset ($meta [' hreflang' ]) && ! empty ($meta [' hreflang' ]) )
78+ <link rel =" alternate" hreflang =" {{ ' en' } }" href =" {{ url ()-> current (). ' ?locale=en' } }" />
79+ @foreach ($meta [' hreflang' ] as $locale )
80+ @if (in_array ($locale , getActiveLanguageList ()?-> pluck (' language_code' )?-> toArray ()) )
81+ <link rel =" alternate" hreflang =" {{ $locale } }" href =" {{ url ()-> current (). ' ?locale=' . $locale } }" />
82+ @endif
83+ @endforeach
84+ @endif
85+
86+ <meta name =" dcterms.Relation" content =" {{ env (' APP_NAME' ) } }" >
87+ <meta name =" dcterms.Publisher" content =" {{ env (' APP_NAME' ) } }" >
88+ <meta name =" dcterms.Contributor" content =" {{ env (' APP_NAME' ) } }" >
1989
2090<!-- Dublin Core basic info -->
91+ <meta name =" dcterms.Type" content =" text/html" >
2192<meta name =" dcterms.Format" content =" text/html" >
22- <meta name =" dcterms.Language" content =" {{ config ( ' app.locale ' ) } }" >
93+ <meta name =" dcterms.Language" content =" {{ str_replace ( ' _ ' , ' - ' , app () -> getLocale () ) } }" >
2394<meta name =" dcterms.Identifier" content =" {{ url ()-> current () } }" >
95+ <meta name =" dcterms.Coverage" content =" {{ url ()-> current () } }" >
2496<meta name =" dcterms.Relation" content =" {{ config (' app.name' ) } }" >
2597<meta name =" dcterms.Publisher" content =" {{ config (' app.name' ) } }" >
26- <meta name =" dcterms.Type" content =" text/html" >
27- <meta name =" dcterms.Coverage" content =" {{ url ()-> current () } }" >
2898<meta name =" dcterms.Title" content =" {{ ! empty ($title )? $title : config (' laravel-seo-manager.title' ) } }" >
2999<meta name =" dcterms.Subject" content =" {{ ! empty ($keywords )? $keywords : config (' laravel-seo-manager.keywords' ) } }" >
30100<meta name =" dcterms.Contributor" content =" {{ ! empty ($author )? $author : config (' laravel-seo-manager.author' ) } }" >
31101<meta name =" dcterms.Description" content =" {{ ! empty ($description )? $description : config (' laravel-seo-manager.description' ) } }" >
32102
33-
34- <!-- Facebook OpenGraph -->
35- <meta property =" og:locale" content =" {{ config (' app.locale' ) } }" >
36103<meta property =" og:type" content =" {{ ! empty ($type )? $type : config (' laravel-seo-manager.type' ) } }" >
37104<meta property =" og:url" content =" {{ url ()-> current () } }" >
38105<meta property =" og:title" content =" {{ ! empty ($title )? $title : config (' laravel-seo-manager.title' ) } }" >
39106<meta property =" og:description" content =" {{ ! empty ($description )? $description : config (' laravel-seo-manager.description' ) } }" >
40107<meta property =" og:image" content =" {{ ! empty ($image )? $image : config (' laravel-seo-manager.image' ) } }" >
41- <meta property =" og:site_name" content =" {{ config (' app.name' ) } }" >
42-
43- @if (config (' laravel-seo-manager.fb_app_id' ) !== ' ' )
44- <meta property =" fb:app_id" content =" {{ config (' laravel-seo-manager.fb_app_id' ) } }" />
45- @endif
46108
47109<!-- Twitter Card -->
48- @if (config (' laravel-seo-manager.twitter_card' ) !== ' ' )
49- <meta name =" twitter:card" content =" {{ ! empty ($twitter_card )? $twitter_card : config (' laravel-seo-manager.twitter_card' ) } }" >
110+ @if (! empty ( $twitter_card ) || config (' laravel-seo-manager.twitter_card' ) !== ' ' )
111+ <meta name =" twitter:card" content =" {{ ! empty ($twitter_card ) ? $twitter_card : config (' laravel-seo-manager.twitter_card' ) } }" >
50112@endif
51- @if (config (' laravel-seo-manager.twitter_site' ) !== ' ' || ! empty ( $twitter_site ) )
52- <meta name =" twitter:site" content =" {{ ! empty ($twitter_site )? $twitter_site : config (' laravel-seo-manager.twitter_site' ) } }" >
113+ @if (! empty ( $twitter_site ) || config (' laravel-seo-manager.twitter_site' ) !== ' ' )
114+ <meta name =" twitter:site" content =" {{ ! empty ($twitter_site )? $twitter_site : config (' laravel-seo-manager.twitter_site' ) } }" >
53115@endif
116+
54117<meta name =" twitter:title" content =" {{ ! empty ($title )? $title : config (' laravel-seo-manager.title' ) } }" >
55118<meta name =" twitter:description" content =" {{ ! empty ($description )? $description : config (' laravel-seo-manager.description' ) } }" >
56- <meta name =" twitter:image" content =" {{ ! empty ($image )? $image : config (' laravel-seo-manager.image' ) } }" >
119+ <meta name =" twitter:image" content =" {{ ! empty ($image )? $image : config (' laravel-seo-manager.image' ) } }" >
120+
121+
122+ @if (! empty ($fb_app_id ) || config (' laravel-seo-manager.fb_app_id' ) !== ' ' )
123+ <meta property =" fb:app_id" content =" {{ ! empty ($fb_app_id )? $fb_app_id : config (' laravel-seo-manager.fb_app_id' ) } }" />
124+ @endif
125+
126+ @if (! empty ($twitter_card ) )<meta name =" twitter:card" content =" {{ $twitter_card } }" >@endif
127+ @if (! empty ($twitter_site ) )<meta name =" twitter:site" content =" {{ $twitter_site } }" >@endif
128+ <meta name =" geo.region" content =" {{ env (' APP_TIMEZONE' ) } }" >
129+
130+ <!-- Open Graph and Social Media Meta Tags -->
131+ <meta property =" og:title" content =" {{ $meta [' title' ] ?? env (' APP_NAME' ) } }" >
132+ <meta property =" og:image" content =" {{ $meta [' image' ] ?? asset (' default-image.png' ) } }" >
133+ <meta property =" og:url" content =" {{ url ()-> current () } }" >
134+ <meta name =" site_name" content =" {{ getSystemConfig (name : ' company_name' ) ?? env (' APP_NAME' ) } }" >
135+
136+ <meta property =" og:site_name" content =" {{ config (' app.name' ) ?? env (' APP_NAME' ) } }" >
137+
138+ <meta property =" og:locale" content =" {{ str_replace (' _' , ' -' , app ()-> getLocale ()) } }" >
139+ <meta property =" og:type" content =" {{ ! empty ($type ) ? $type : ' website' } }" >
140+ <meta property =" og:image:width" content =" 1200" >
141+ <meta property =" og:image:height" content =" 630" >
142+ <meta property =" og:image:alt" content =" {{ $meta [' title' ] ?? ' Default Image' } }" >
143+
144+ <!-- Twitter Card -->
145+ <meta name =" twitter:card" content =" {{ $twitter_card ?? ' summary_large_image' } }" >
146+ <meta name =" twitter:site" content =" {{ $twitter_site ?? ' @YourTwitterHandle ' } }" >
147+ <meta name =" twitter:image" content =" {{ $meta [' image' ] ?? asset (' default-image.png' ) } }" >
148+ <meta name =" twitter:image:alt" content =" {{ $meta [' title' ] ?? ' Default Image' } }" >
149+
150+
151+ <!-- Additional Open Graph Tags -->
152+ <meta property =" og:image:type" content =" image/jpeg" >
153+ <meta property =" og:image:secure_url" content =" {{ $meta [' image' ] ?? asset (' default-image.png' ) } }" >
154+ <meta property =" og:updated_time" content =" {{ now ()-> toIso8601String () } }" >
155+ <meta property =" og:determiner" content =" the" >
156+
157+ <!-- Optional Twitter Card Tags for Video (if applicable) -->
158+ @if (! empty ($meta [' video' ]) )
159+ <meta name =" twitter:player" content =" {{ $meta [' video' ] } }" >
160+ <meta name =" twitter:player:width" content =" 1280" >
161+ <meta name =" twitter:player:height" content =" 720" >
162+ @endif
163+
164+ <!-- Optional OG Tags for Video -->
165+ @if (! empty ($meta [' video' ]) )
166+ <meta property =" og:video" content =" {{ $meta [' video' ] } }" >
167+ <meta property =" og:video:width" content =" 1280" >
168+ <meta property =" og:video:height" content =" 720" >
169+ <meta property =" og:video:type" content =" video/mp4" >
170+ @endif
0 commit comments