-
Notifications
You must be signed in to change notification settings - Fork 79
/
meta.yml
40 lines (40 loc) · 1.53 KB
/
meta.yml
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
40
layout:
actions:
- '@setOption':
id: title
optionName: value
optionValue: '=data["web_catalog_title"].getTitle(defaultValue, data["page"])'
- '@add':
id: meta_title
parentId: head
blockType: meta
options:
name: 'title'
content: '=data["seo"].getMetaInformation(data["page"], "metaTitles")'
- '@add':
id: meta_description
parentId: head
blockType: meta
options:
name: 'description'
content: '=data["seo"].getMetaInformation(data["page"], "metaDescriptions")'
- '@add':
id: meta_keywords
parentId: head
blockType: meta
options:
name: 'keywords'
content: '=data["seo"].getMetaInformation(data["page"], "metaKeywords")'
- '@add':
id: canonical
parentId: head
blockType: external_resource
options:
rel: 'canonical'
href: '=data["canonical"].getHomePageUrl()'
- '@add':
id: entity_localized_urls
parentId: head
blockType: seo_localized_links_container
options:
linkItems: '=data["seo_localized_links"].getAlternates(data["web_catalog_content_variant"].getFromRequest() ? data["web_catalog_content_variant"].getFromRequest() : data["page"])'