mirror of
https://github.com/ExactTarget/fuelux.git
synced 2026-04-26 03:00:10 -04:00
89 lines
3.1 KiB
HTML
89 lines
3.1 KiB
HTML
<script>
|
|
var siteUrl = '{{ site.url }}'.toLowerCase();
|
|
var domain = siteUrl.split('//')[1] || siteUrl;
|
|
|
|
var currentHref = window.location.href;
|
|
|
|
var ghDomain = 'exacttarget.github.io/fuelux';
|
|
var rGhDomain = new RegExp(ghDomain.replace(/\./g, '\\.'), 'i');
|
|
if ( rGhDomain.test(currentHref)) {
|
|
window.location.replace(currentHref.replace(ghDomain, domain));
|
|
}
|
|
</script>
|
|
|
|
<meta charset="utf-8">
|
|
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="Fuel UX, a front-end library that extends Bootstrap with additional lightweight controls.">
|
|
<meta name="keywords" content="HTML, CSS, JS, JavaScript, framework, fuel ux, bootstrap, extends, front-end, frontend, web development">
|
|
<meta name="author" content="ExactTarget">
|
|
|
|
<title>
|
|
{% if page.title == "Fuel UX" %}
|
|
{{ page.title }}
|
|
{% else %}
|
|
{{ page.title }} · Fuel UX
|
|
{% endif %}
|
|
</title>
|
|
|
|
<!-- Favicons -->
|
|
|
|
<!--<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/assets/ico/apple-touch-icon-144-precomposed.png">-->
|
|
<!--<link rel="shortcut icon" href="{{ site.url }}/assets/ico/favicon.ico">-->
|
|
|
|
<!-- Styles -->
|
|
|
|
<!-- Bootstrap CSS-->
|
|
<link href="{{ site.url }}/assets/vendor/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="{{ site.url }}/assets/vendor/fuelux/dist/css/fuelux.css" rel="stylesheet" type="text/css">
|
|
|
|
<!-- Docs CSS -->
|
|
<link href="{{ site.url }}/assets/css/docs.css" rel="stylesheet">
|
|
|
|
<!-- Specific Page CSS -->
|
|
<!--{% if page.title != "Fuel UX" %}
|
|
<link href="{{ site.url }}/assets/css/{{page.slug}}.css" rel="stylesheet">
|
|
{% endif %}-->
|
|
|
|
|
|
<!-- Scripts -->
|
|
<script src="{{ site.url }}/assets/vendor/requirejs/require.js"></script>
|
|
|
|
<script>
|
|
(function () {
|
|
requirejs.config({
|
|
config: {
|
|
moment: {
|
|
noGlobal: true
|
|
}
|
|
},
|
|
paths: {
|
|
assets: '{{ site.url }}/assets',
|
|
bootstrap: '{{ site.url }}/assets/vendor/bootstrap/dist/js/bootstrap',
|
|
fuelux: '{{ site.url }}/assets/vendor/fuelux/dist/js/fuelux',
|
|
jquery: '{{ site.url }}/assets/vendor/jquery-1.11.0/dist/jquery',
|
|
moment: '{{ site.url }}/assets/vendor/moment/min/moment-with-langs.min', // comment out if you dont want momentjs to be default
|
|
underscore: '{{ site.url }}/assets/vendor/underscore/underscore'
|
|
},
|
|
// Bootstrap is a "browser globals" script :-(
|
|
shim: { 'bootstrap': { deps: ['jquery'] } }
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
<script src="https://platform.twitter.com/widgets.js" type="text/javascript"></script>
|
|
|
|
<script>
|
|
if (window.location.host != 'localhost') {
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-47104717-2', 'auto');
|
|
ga('send', 'pageview');
|
|
}
|
|
</script>
|
|
|
|
<!-- <script src="http://localhost:35729/livereload.js"></script> -->
|