This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 505
/
metadata.html
54 lines (50 loc) · 1.74 KB
/
metadata.html
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<title>{{title}}</title>
<meta name="description" content="{{desc}}" />
{{^skipCanonical}}
<link rel="canonical" href="{{canonical}}">
{{/skipCanonical}}
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="{{title}}">
<meta itemprop="description" content="{{desc}}">
<meta itemprop="image" content="{{leader}}">
{{#categories}}{{#selected}}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "{{host}}/#{{url}}",
"name": "{{name}}"
}
}{{#examples}}{{#selected}}, {
"@type": "ListItem",
"position": 2,
"item": {
"@id": "{{host}}{{url}}",
"name": "{{title}}"
}
}{{/selected}}{{/examples}}]
}
</script>
{{/selected}}{{/categories}}
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@amphtml">
<meta name="twitter:creator" content="@sebabenz">
<meta name="twitter:title" content="{{title}}">
<meta name="twitter:description" content="{{desc}}">
<meta name="twitter:image" content="{{leader}}">
<meta name="twitter:image:alt" content="AMP by Example">
<!-- Open Graph data -->
<meta property="fb:app_id" content="254325784911610" />
<meta property="og:title" content="{{title}}" />
<meta property="og:type" content="article" />
<meta property="og:image" content="{{leader}}" />
<meta property="og:url" content="{{canonical}}" />
<meta property="og:description" content="{{desc}}" />
<meta property="og:site_name" content="AMP by Example" />
<meta property="article:published_time" content="{{datePublished}}" />
<meta property="article:modified_time" content="{{dateModified}}" />