aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/_includes/head.html
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-04-26 07:12:42 +0000
committerGravatar Yun Peng <pcloudy@google.com>2016-04-26 08:30:02 +0000
commitbd69080f0b9d57047d390d9557aa6d0441e66b38 (patch)
tree4da3c8ac4f8e81c9f3ddc5fd2b2e77fa70560772 /site/_includes/head.html
parent02669d78e33b13d0d8ee59217d8b6bb22d6f6f3a (diff)
Include Jekyll layout files, style sheets, and Bazel logo images in the
public Bazel tree. -- MOS_MIGRATED_REVID=120787331
Diffstat (limited to 'site/_includes/head.html')
-rw-r--r--site/_includes/head.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/site/_includes/head.html b/site/_includes/head.html
new file mode 100644
index 0000000000..c2fc78d0c7
--- /dev/null
+++ b/site/_includes/head.html
@@ -0,0 +1,41 @@
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ page.title }} - Bazel</title>
+
+ <script>
+ var current_url = window.location.href;
+ var bad_url = new RegExp("^https?://bazelbuild.github.io/bazel/");
+ if (bad_url.test(current_url)) {
+ window.location.replace(current_url.replace(bad_url, "http://bazel.io/"));
+ }
+ </script>
+
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site_root }}">
+
+ <!-- Webfont -->
+ <link href="http://fonts.googleapis.com/css?family=RobotoDraft:300,400,500|Source+Code+Pro:400,500,700" rel="stylesheet">
+
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico">
+
+ <!-- Bootstrap -->
+ <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/assets/css/font-awesome.min.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <![endif]-->
+
+ <!-- Custom stylesheet -->
+ <link rel="stylesheet" type="text/css" href="/css/main.css" />
+
+ <!-- metadata -->
+ <meta name="og:title" content="Bazel"/>
+ <meta name="og:image" content="/images/bazel-og-image.png"/>
+ <meta name="og:description" content="Correct, reproducible, fast builds for everyone"/>
+ </head>
+