@@ -35,48 +35,52 @@ let make = (
35
35
| None => title
36
36
}
37
37
38
- <Head >
39
- <title key = "title" > {React .string (title )} </title >
40
- <meta charSet = "utf-8" />
41
- <meta
42
- name = "viewport"
43
- content = "width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, minimal-ui"
44
- />
45
- <meta key = "description" name = "description" content = description />
46
- <meta key = "keywords" name = "keywords" content = {Array .join (keywords , "," )} />
47
- {switch canonical {
48
- | Some (href ) => <link key = "canonical" href rel = "canonical" />
49
- | None => React .null
50
- }}
51
- <link rel = "apple-touch-icon" sizes = "180x180" href = "/favicon/apple-touch-icon.png" />
52
- <link rel = "icon" type_ = "image/png" sizes = "32x32" href = "/favicon/favicon-32x32.png" />
53
- <link rel = "icon" type_ = "image/png" sizes = "16x16" href = "/favicon/favicon-16x16.png" />
54
- <link rel = "manifest" href = "/favicon/site.webmanifest" />
38
+ React .null
55
39
56
- /* OG link preview meta data */
57
- <meta key = "og:site_name" property = "og:site_name" content = ogSiteName />
58
- <meta key = "og:locale" property = "og:locale" content = ogLocale />
59
- <meta key = "og:title" property = "og:title" content = ogTitle />
60
- <meta key = "og:description" property = "og:description" content = ogDescription />
61
- <meta key = "og:image" property = "og:image" content = ogImage />
40
+ // TODO RR7 - fix meta tags
62
41
63
- /* Twitter Meta */
64
- <meta key = "twitter:title" name = "twitter:title" content = title />
65
- <meta key = "twitter:description" name = "twitter:description" content = description />
66
- <meta key = "twitter:site" name = "twitter:site" content = "@rescriptlang" />
67
- <meta key = "twitter:image" property = "og:image" content = ogImage />
68
- <meta key = "twitter:creator" name = "twitter:creator" content = "@ReScriptAssoc" />
69
- <meta key = "twitter:card" name = "twitter:card" content = "summary_large_image" />
70
- <link rel = "alternate" type_ = "application/rss+xml" title = "ReScript Blog" href = "/blog/feed.xml" />
71
- // Docsearch meta tags
72
- <meta
73
- name = "docsearch:version"
74
- content = {switch version {
75
- | Some (Version (v )) => v
76
- | Some (Latest ) => Constants .versions .latest
77
- | Some (Next ) => Constants .versions .next
78
- | _ => Constants .versions .latest
79
- }}
80
- />
81
- </Head >
42
+ // <Head>
43
+ // <title key="title"> {React.string(title)} </title>
44
+ // <meta charSet="utf-8" />
45
+ // <meta
46
+ // name="viewport"
47
+ // content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, minimal-ui"
48
+ // />
49
+ // <meta key="description" name="description" content=description />
50
+ // <meta key="keywords" name="keywords" content={Array.join(keywords, ",")} />
51
+ // {switch canonical {
52
+ // | Some(href) => <link key="canonical" href rel="canonical" />
53
+ // | None => React.null
54
+ // }}
55
+ // <link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
56
+ // <link rel="icon" type_="image/png" sizes="32x32" href="/favicon/favicon-32x32.png" />
57
+ // <link rel="icon" type_="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
58
+ // <link rel="manifest" href="/favicon/site.webmanifest" />
59
+
60
+ // /* OG link preview meta data */
61
+ // <meta key="og:site_name" property="og:site_name" content=ogSiteName />
62
+ // <meta key="og:locale" property="og:locale" content=ogLocale />
63
+ // <meta key="og:title" property="og:title" content=ogTitle />
64
+ // <meta key="og:description" property="og:description" content=ogDescription />
65
+ // <meta key="og:image" property="og:image" content=ogImage />
66
+
67
+ // /* Twitter Meta */
68
+ // <meta key="twitter:title" name="twitter:title" content=title />
69
+ // <meta key="twitter:description" name="twitter:description" content=description />
70
+ // <meta key="twitter:site" name="twitter:site" content="@rescriptlang" />
71
+ // <meta key="twitter:image" property="og:image" content=ogImage />
72
+ // <meta key="twitter:creator" name="twitter:creator" content="@ReScriptAssoc" />
73
+ // <meta key="twitter:card" name="twitter:card" content="summary_large_image" />
74
+ // <link rel="alternate" type_="application/rss+xml" title="ReScript Blog" href="/blog/feed.xml" />
75
+ // // Docsearch meta tags
76
+ // <meta
77
+ // name="docsearch:version"
78
+ // content={switch version {
79
+ // | Some(Version(v)) => v
80
+ // | Some(Latest) => Constants.versions.latest
81
+ // | Some(Next) => Constants.versions.next
82
+ // | _ => Constants.versions.latest
83
+ // }}
84
+ // />
85
+ // </Head>
82
86
}
0 commit comments