Add target-specific meta headers for social media

This commit is contained in:
Michal Moskal 2016-07-01 09:26:54 +01:00
parent 38fc0f8099
commit ecbb970983
2 changed files with 22 additions and 2 deletions

21
includes/docs-meta.html Normal file
View File

@ -0,0 +1,21 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@codethemicrobit" />
<meta name="twitter:title" content="@name@" />
<meta name="twitter:description" content="@description@" />
<meta name="twitter:image" content="@cardLogo@" />
<meta property="og:title" content="@name@" />
<meta property="og:site_name" content="code the micro:bit" />
<meta property="og:description" content="@description@" />
<meta property="og:image" content="@cardLogo@" />
<!--
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="" />
-->
<link rel="apple-touch-icon" href="@appLogo@">
<link rel="icon" type="image/png" href="@appLogo@">
<link rel="mask-icon" href="https://az851932.vo.msecnd.net/pub/zwxazere/safari-pinned-tab.svg" color="#000000">
<link rel="shortcut icon" href="@appLogo@">
<meta name="theme-color" content="@accentColor@">

View File

@ -7,11 +7,10 @@
<meta property="og:title" content="micro:bit editor" /> <meta property="og:title" content="micro:bit editor" />
<meta property="og:description" content="Blocks+JavaScript for programming your micro:bit" /> <meta property="og:description" content="Blocks+JavaScript for programming your micro:bit" />
<meta property="og:site_name" content="code the micro:bit" /> <meta property="og:site_name" content="code the micro:bit" />
<meta property="og:image" content="https://az851932.vo.msecnd.net/pub/tbhemtig" /> <meta property="og:image" content="https://az851932.vo.msecnd.net/pub/drbwxcth" />
<!-- <!--
Canonical URL needs to wait until main release is updated. Canonical URL needs to wait until main release is updated.
<meta property="og:url" content="https://codethemicrobit.com" /> <meta property="og:url" content="https://codethemicrobit.com" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="fb:app_id" content="" /> <meta property="fb:app_id" content="" />
--> -->
<meta property="og:image" content="https://az851932.vo.msecnd.net/pub/drbwxcth" />