/
TitleContainer.php
39 lines (36 loc) · 1.07 KB
/
TitleContainer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* SEOmatic plugin for Craft CMS
*
* A turnkey SEO implementation for Craft CMS that is comprehensive, powerful,
* and flexible
*
* @link https://nystudio107.com
* @copyright Copyright (c) 2017 nystudio107
*/
use nystudio107\seomatic\models\MetaTitleContainer;
use nystudio107\seomatic\services\Title as TitleService;
/**
* @author nystudio107
* @package Seomatic
* @since 3.0.0
*/
return [
MetaTitleContainer::CONTAINER_TYPE . TitleService::GENERAL_HANDLE => [
'name' => 'General',
'description' => 'Meta Title Tag',
'handle' => TitleService::GENERAL_HANDLE,
'class' => (string)MetaTitleContainer::class,
'include' => true,
'dependencies' => [
],
'data' => [
'title' => [
'title' => '{{ seomatic.meta.seoTitle }}',
'siteName' => '{{ seomatic.site.siteName }}',
'siteNamePosition' => '{{ seomatic.meta.siteNamePosition }}',
'separatorChar' => '{{ seomatic.config.separatorChar }}',
],
],
],
];