Use new index.html includes/overrides

This commit is contained in:
Michal Moskal 2016-06-30 16:36:07 +01:00
parent 79c32097b5
commit ff72858c42
3 changed files with 32 additions and 1 deletions

17
includes/head.html Normal file
View File

@ -0,0 +1,17 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@codethemicrobit" />
<meta name="twitter:title" content="code the micro:bit" />
<meta name="twitter:description" content="Blocks+JavaScript for programming your micro:bit" />
<meta name="twitter:image" content="https://az851932.vo.msecnd.net/pub/drbwxcth" />
<meta property="og:title" content="micro:bit editor" />
<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:image" content="https://az851932.vo.msecnd.net/pub/tbhemtig" />
<!--
Canonical URL needs to wait until main release is updated.
<meta property="og:url" content="https://codethemicrobit.com" />
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="" />
-->
<meta property="og:image" content="https://az851932.vo.msecnd.net/pub/drbwxcth" />

13
includes/tracking.html Normal file
View File

@ -0,0 +1,13 @@
<script type="text/javascript">
var appInsights=window.appInsights||function(config){
function r(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},u=document,e=window,o="script",s=u.createElement(o),i,f;for(s.src=config.url||"//az416426.vo.msecnd.net/scripts/a/ai.0.js",u.getElementsByTagName(o)[0].parentNode.appendChild(s),t.cookie=u.cookie,t.queue=[],i=["Event","Exception","Metric","PageView","Trace"];i.length;)r("track"+i.pop());return r("setAuthenticatedUserContext"),r("clearAuthenticatedUserContext"),config.disableExceptionTracking||(i="onerror",r("_"+i),f=e[i],e[i]=function(config,r,u,e,o){var s=f&&f(config,r,u,e,o);return s!==!0&&t["_"+i](config,r,u,e,o),s}),t
}({
instrumentationKey:"e9ae05ca-350b-427a-9775-3ba3f6efabce"
});window.appInsights=appInsights;
</script>
<script type="text/javascript">
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f)}})(document,window.mixpanel||[]);
mixpanel.init("762fef19c053a0ea4cec43d2fecae76e");
</script>

View File

@ -86,7 +86,8 @@
"docsLogo": "./static/microbit.simplified.svg", "docsLogo": "./static/microbit.simplified.svg",
"portraitLogo": "./static/microbit.simplified.svg", "portraitLogo": "./static/microbit.simplified.svg",
"footerLogo": "./static/microbit.simplified.svg", "footerLogo": "./static/microbit.simplified.svg",
"embedLogo": "https://az851932.vo.msecnd.net/pub/tbhemtig", "cardLogo": "https://az851932.vo.msecnd.net/pub/drbwxcth",
"appLogo": "https://az851932.vo.msecnd.net/pub/tbhemtig",
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray.png", "organizationLogo": "./static/Microsoft-logo_rgb_c-gray.png",
"homeUrl": "https://codethemicrobit.com/", "homeUrl": "https://codethemicrobit.com/",
"embedUrl": "https://codethemicrobit.com/", "embedUrl": "https://codethemicrobit.com/",