summaryrefslogtreecommitdiff
path: root/_layouts/global.html
diff options
context:
space:
mode:
authorAndy Konwinski <andrew@apache.org>2013-08-23 17:17:53 +0000
committerAndy Konwinski <andrew@apache.org>2013-08-23 17:17:53 +0000
commit81d6089b47ec4d3e7fe17074f3b5fadec8070071 (patch)
tree1401e9f4bc6e1b9f4596ebecc5b7332d9ed96f3a /_layouts/global.html
parent71bac61ea11df8144a9a3d2be75ef996517b136d (diff)
downloadspark-website-81d6089b47ec4d3e7fe17074f3b5fadec8070071.tar.gz
spark-website-81d6089b47ec4d3e7fe17074f3b5fadec8070071.tar.bz2
spark-website-81d6089b47ec4d3e7fe17074f3b5fadec8070071.zip
Initial port of Spark website from spark-project.org wordpress to Jekyll.
Diffstat (limited to '_layouts/global.html')
-rw-r--r--_layouts/global.html82
1 files changed, 82 insertions, 0 deletions
diff --git a/_layouts/global.html b/_layouts/global.html
new file mode 100644
index 000000000..937cbb911
--- /dev/null
+++ b/_layouts/global.html
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--[if IE 6]>
+<html id="ie6" dir="ltr" lang="en-US">
+<![endif]-->
+<!--[if IE 7]>
+<html id="ie7" dir="ltr" lang="en-US">
+<![endif]-->
+<!--[if IE 8]>
+<html id="ie8" dir="ltr" lang="en-US">
+<![endif]-->
+<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
+<html dir="ltr" lang="en-US">
+<!--<![endif]-->
+<head>
+ <link rel="shortcut icon" href="favicon.ico" />
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width" />
+ <title>{{page.title}} | Spark</title>
+
+ <link rel="stylesheet" type="text/css" media="all" href="{{site.url}}css/style.css" />
+ <link rel="stylesheet" href="{{site.url}}css/pygments-default.css">
+
+ <script type="text/javascript">//<![CDATA[
+ // Google Analytics for WordPress by Yoast v4.2.8 | http://yoast.com/wordpress/google-analytics/
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-32518208-1']);
+ _gaq.push(['_trackPageview']);
+ (function () {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
+ })();
+ //]]></script>
+
+ <link rel='canonical' href='{{site.url}}index.html' />
+
+ <style type="text/css">
+ #site-title,
+ #site-description {
+ position: absolute !important;
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+ </style>
+ <style type="text/css" id="custom-background-css">
+ body.custom-background { background-color: #f1f1f1; }
+ </style>
+</head>
+
+<!--body class="page {% if page.sidebar %}two-column right-sidebar{% else %}singular{% endif%}"-->
+<body class="{{page.type}}">
+<div id="page" class="hfeed">
+
+ {% include navbar.html %}
+
+ <div id="main">
+ <div id="primary">
+ <div id="content" role="main">
+ {% if page.type contains 'archive' %}
+ {{ content }}
+ {% else %}
+ <article class="page type-page status-publish hentry">
+ {{ content }}
+ </article><!-- #post -->
+ {% endif %}
+ </div><!-- #content -->
+ {% if page.sidebar %}
+ <div id="secondary" class="widget-area" role="complementary">
+ {{ page.sidebar | markdownify }}
+ </div>
+ {% endif %}
+ {% include footer.html %}
+ </div><!-- #primary -->
+ </div><!-- #main -->
+</div><!-- #page -->
+
+
+</body>
+</html>