Repository: incubator-impala
Updated Branches:
  refs/heads/asf-site 59d895a1f -> b03b91515


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/assets/images/incubator.png
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/assets/images/incubator.png 
b/nikola_site_generator/themes/impala-theme/assets/images/incubator.png
new file mode 100644
index 0000000..ae6ec4c
Binary files /dev/null and 
b/nikola_site_generator/themes/impala-theme/assets/images/incubator.png differ

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/engine
----------------------------------------------------------------------
diff --git a/nikola_site_generator/themes/impala-theme/engine 
b/nikola_site_generator/themes/impala-theme/engine
new file mode 100644
index 0000000..6f04b30
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/engine
@@ -0,0 +1 @@
+jinja

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/parent
----------------------------------------------------------------------
diff --git a/nikola_site_generator/themes/impala-theme/parent 
b/nikola_site_generator/themes/impala-theme/parent
new file mode 100644
index 0000000..e9ed660
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/parent
@@ -0,0 +1 @@
+base-jinja

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/base.tmpl
----------------------------------------------------------------------
diff --git a/nikola_site_generator/themes/impala-theme/templates/base.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/base.tmpl
new file mode 100644
index 0000000..670facb
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/base.tmpl
@@ -0,0 +1,51 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!DOCTYPE html>
+{# -*- coding: utf-8 -*- #}
+{% import 'base_helper.tmpl' as base with context %}
+{% import 'base_header.tmpl' as header with context %}
+{% import 'base_footer.tmpl' as footer with context %}
+
+{{ set_locale(lang) }}
+{{ base.html_tag() }}
+
+<head>
+    {{ base.setup_head_tag() }}
+    {% block extra_head %}
+    {# Leave this block alone. #}
+    {% endblock %}
+    {{ template_hooks['extra_head']() }}
+</head>
+<body id="index" class="home">
+    <div class="container">
+        <div class="masthead">
+            {{ header.html_header() }}
+        </div><!-- masthead -->
+        <main id="content">
+            {% block content %}{% endblock %}
+        </main>
+        {{ footer.html_footer() }}
+        {{ base.late_load_js() }}
+        {% block extra_js %}{% endblock %}
+        {{ body_end }}
+        {{ template_hooks['body_end']() }}
+    </div><!-- container -->
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/base_footer.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/base_footer.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/base_footer.tmpl
new file mode 100644
index 0000000..e571ca3
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/base_footer.tmpl
@@ -0,0 +1,67 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+{% import 'base_helper.tmpl' as base with context %}
+
+{% macro html_footer() %}
+  <footer id="footer">
+    <p>&nbsp;</p>
+    <div class="navbar">
+      <div class="navbar-inner">
+        <div class="container">
+
+          <ul class="nav">
+            <li><a href="https://www.apache.org/licenses/";>License</a></li>
+            <li><a 
href="https://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+            <li><a 
href="https://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+            <li><a href="https://www.apache.org/security/";>Security</a></li>
+            <li><a href="https://www.apache.org/";>Apache Software 
Foundation</a></li>
+          </ul>
+
+        </div><!-- container -->
+      </div><!-- navbar-inner -->
+    </div><!-- navbar -->
+
+    <div class="footer">
+      <p class="pull-right"><img src="/assets/images/incubator.png"></p>
+
+      <p>
+        Apache Impala is an effort undergoing incubation at the Apache 
Software Foundation
+        (ASF), sponsored by the Apache Incubator PMC. Incubation is required 
of all newly
+        accepted projects until a further review indicates that the 
infrastructure,
+        communications, and decision making process have stabilized in a 
manner consistent
+        with other successful ASF projects. While incubation status is not 
necessarily a
+        reflection of the completeness or stability of the code, it does 
indicate that the
+        project has yet to be fully endorsed by the ASF.
+      </p>
+
+      <p>
+        Apache Impala, Impala, Apache, the Apache feather logo, and the Apache 
Impala
+        project logo are either registered trademarks or trademarks of The 
Apache Software
+        Foundation in the United States and other countries.
+      </p>
+    </div><!-- footer -->
+
+    {% if content_footer %}
+      <p>{{ content_footer }}</p>
+      {{ template_hooks['page_footer']() }}
+    {% endif %}
+  </footer>
+{% endmacro %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/base_header.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/base_header.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/base_header.tmpl
new file mode 100644
index 0000000..0ceb5e8
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/base_header.tmpl
@@ -0,0 +1,81 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+{% import 'base_helper.tmpl' as base with context %}
+
+{% macro html_header() %}
+    <header id="header">
+        {{ html_site_title() }}
+        {{ html_navigation_links() }}
+        {% if search_form %}
+            <div class="searchform" role="search">
+                {{ search_form }}
+            </div>
+        {% endif %}
+    </header>
+    {{ template_hooks['page_header']() }}
+{% endmacro %}
+
+{% macro html_site_title() %}
+    <h3 id="brand">
+        <a href="{{ abs_link(_link("root", None, lang)) }}" title="{{ 
blog_title|e }}" rel="home">
+        {% if logo_url %}
+            <img src="{{ logo_url }}" alt="{{ blog_title|e }}" id="logo">
+        {% endif %}
+
+        {% if show_blog_title %}
+            <span id="blog-title" class="muted" >{{ blog_title|e }}</span>
+        {% endif %}
+        </a>
+    </h3>
+{% endmacro %}
+
+{% macro html_navigation_links() %}
+    <nav id="menu">
+    <div class="navbar">
+        <div class="navbar-inner">
+            <div class="container">
+
+            <ul class="nav">
+                <li><a href="http://impala.apache.org/index.html";>Home</a></li>
+                <li><a 
href="http://impala.apache.org/downloads.html";>Downloads</a></li>
+                <li><a 
href="http://impala.apache.org/overview.html";>Overview</a></li>
+                <li class="active"><a href="index.html">Blog</a></li>
+                <li><a 
href="https://cwiki.apache.org/confluence/display/IMPALA/Contributing+to+Impala";>Contribute</a></li>
+                <li class="dropdown">
+                    <a href='#' class="dropdown-toggle" data-toggle="dropdown" 
role="button">
+                    Source code</a>
+                    <ul class="dropdown-menu">
+                        <li>
+                            <a 
href="https://git-wip-us.apache.org/repos/asf/incubator-impala.git";>
+                            Official source</a>
+                        </li>
+                        <li><a 
href="https://github.com/apache/incubator-impala";>GitHub mirror</a></li>
+                    </ul>
+                </li>
+                <li><a 
href="http://impala.apache.org/community.html";>Community</a></li>
+                <li><a 
href="http://impala.apache.org/impala-docs.html";>Documentation</a></li>
+            </ul>
+
+            </div><!-- container -->
+        </div><!-- navbar-inner -->
+    </div><!-- navbar -->
+    </nav>
+{% endmacro %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/base_helper.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/base_helper.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/base_helper.tmpl
new file mode 100644
index 0000000..798c1d2
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/base_helper.tmpl
@@ -0,0 +1,121 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+
+{% macro html_tag() %}
+    <html \
+    prefix='
+    {% if use_open_graph or (twitter_card and 
twitter_card['use_twitter_cards']) %}
+    og: http://ogp.me/ns# article: http://ogp.me/ns/article#
+    {% endif %}
+    {% if comment_system == 'facebook' %}
+    fb: http://ogp.me/ns/fb#
+    {% endif %}
+    ' \
+    {% if use_open_graph or (twitter_card and 
twitter_card['use_twitter_cards']) %}
+    vocab="http://ogp.me/ns"; \
+    {% endif %}
+    {% if is_rtl %}
+    dir="rtl"
+    {% endif %}
+
+    lang="{{ lang }}">
+{% endmacro %}
+
+{% macro setup_head_tag() %}
+    <meta name="keywords" content="hadoop, impala, sql, mpp, bi, big data, 
open source" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta charset="utf-8">
+
+    {% if use_base_tag %}
+        <base href="{{ abs_link(permalink) }}">
+    {% endif %}
+
+    {% if description %}
+        <meta name="description" content="{{ description|e }}">
+    {% endif %}
+
+    {% if title == blog_title %}
+        <title>{{ blog_title|e }}</title>
+    {% else %}
+        <title>{{ title|e }} | {{ blog_title|e }}</title>
+    {% endif %}
+
+    {{ html_stylesheets() }}
+    <meta content="{{ theme_color }}" name="theme-color">
+    <link rel="canonical" href="{{ abs_link(permalink) }}">
+
+    {% if favicons %}
+        {% for name, file, size in favicons %}
+            <link rel="{{ name }}" href="{{ file }}" sizes="{{ size }}"/>
+        {% endfor %}
+    {% endif %}
+
+    {% if comment_system == 'facebook' %}
+        <meta property="fb:app_id" content="{{ comment_system_id }}">
+    {% endif %}
+
+    {% if prevlink %}
+        <link rel="prev" href="{{ prevlink }}" type="text/html">
+    {% endif %}
+    {% if nextlink %}
+        <link rel="next" href="{{ nextlink }}" type="text/html">
+    {% endif %}
+
+    {{ extra_head_data }}
+{% endmacro %}
+
+<!-- Used if we want to enable code for liking/reposting/retweeting blog 
content
+     to social media. The 'social_buttons_code' is defined in conf.py. -->
+{% macro late_load_js() %}
+    {{ social_buttons_code }}
+{% endmacro %}
+
+{% macro html_stylesheets() %}
+    {% if use_bundles %}
+        {% if use_cdn %}
+            <link href="/assets/css/all.css" rel="stylesheet" type="text/css">
+        {% else %}
+            <link href="/assets/css/all-nocdn.css" rel="stylesheet" 
type="text/css">
+        {% endif %}
+    {% else %}
+        <link href="/assets/css/bootstrap.min.css" rel="stylesheet" 
type="text/css">
+        <link href="/assets/css/bootstrap-responsive.min.css" rel="stylesheet" 
type="text/css">
+
+        <!-- order is significant to prevent overwriting of some 
bootstrap-defined css styles -->
+        <link href="/assets/css/additional_styles.css" rel="stylesheet" 
type="text/css">
+
+        <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js";></script>
+        <script 
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js";></script>
+        <script>
+            
(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-67190974-2', 'auto');
+            ga('send', 'pageview');
+        </script>
+
+        {% if has_custom_css %}
+            <link href="/assets/css/custom.css" rel="stylesheet" 
type="text/css">
+        {% endif %}
+    {% endif %}
+{% endmacro %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/comments_helper.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/comments_helper.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/comments_helper.tmpl
new file mode 100644
index 0000000..ad89328
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/comments_helper.tmpl
@@ -0,0 +1,82 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+
+{% import 'comments_helper_disqus.tmpl' as disqus with context %}
+{% import 'comments_helper_livefyre.tmpl' as livefyre with context %}
+{% import 'comments_helper_intensedebate.tmpl' as intensedebate with context %}
+{% import 'comments_helper_muut.tmpl' as muut with context %}
+{% import 'comments_helper_googleplus.tmpl' as googleplus with context %}
+{% import 'comments_helper_facebook.tmpl' as facebook with context %}
+{% import 'comments_helper_isso.tmpl' as isso with context %}
+
+{% macro comment_form(url, title, identifier) %}
+    {% if comment_system == 'disqus' %}
+        {{ disqus.comment_form(url, title, identifier) }}
+    {% elif comment_system == 'livefyre' %}
+        {{ livefyre.comment_form(url, title, identifier) }}
+    {% elif comment_system == 'intensedebate' %}
+        {{ intensedebate.comment_form(url, title, identifier) }}
+    {% elif comment_system == 'muut' %}
+        {{ muut.comment_form(url, title, identifier) }}
+    {% elif comment_system == 'googleplus' %}
+        {{ googleplus.comment_form(url, title, identifier) }}
+    {% elif comment_system == 'facebook' %}
+        {{ facebook.comment_form(url, title, identifier) }}
+    {% elif comment_system == 'isso' %}
+        {{ isso.comment_form(url, title, identifier) }}
+    {% endif %}
+{% endmacro %}
+
+{% macro comment_link(link, identifier) %}
+    {% if comment_system == 'disqus' %}
+        {{ disqus.comment_link(link, identifier) }}
+    {% elif comment_system == 'livefyre' %}
+        {{ livefyre.comment_link(link, identifier) }}
+    {% elif comment_system == 'intensedebate' %}
+        {{ intensedebate.comment_link(link, identifier) }}
+    {% elif comment_system == 'muut' %}
+        {{ muut.comment_link(link, identifier) }}
+    {% elif comment_system == 'googleplus' %}
+        {{ googleplus.comment_link(link, identifier) }}
+    {% elif comment_system == 'facebook' %}
+        {{ facebook.comment_link(link, identifier) }}
+    {% elif comment_system == 'isso' %}
+        {{ isso.comment_link(link, identifier) }}
+    {% endif %}
+{% endmacro %}
+
+{% macro comment_link_script() %}
+    {% if comment_system == 'disqus' %}
+        {{ disqus.comment_link_script() }}
+    {% elif comment_system == 'livefyre' %}
+        {{ livefyre.comment_link_script() }}
+    {% elif comment_system == 'intensedebate' %}
+        {{ intensedebate.comment_link_script() }}
+    {% elif comment_system == 'muut' %}
+        {{ muut.comment_link_script() }}
+    {% elif comment_system == 'googleplus' %}
+        {{ googleplus.comment_link_script() }}
+    {% elif comment_system == 'facebook' %}
+        {{ facebook.comment_link_script() }}
+    {% elif comment_system == 'isso' %}
+        {{ isso.comment_link_script() }}
+    {% endif %}
+{% endmacro %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/comments_helper_disqus.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/comments_helper_disqus.tmpl
 
b/nikola_site_generator/themes/impala-theme/templates/comments_helper_disqus.tmpl
new file mode 100644
index 0000000..bbd1aa5
--- /dev/null
+++ 
b/nikola_site_generator/themes/impala-theme/templates/comments_helper_disqus.tmpl
@@ -0,0 +1,61 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+
+{% macro comment_form(url, title, identifier) %}
+    {% if comment_system_id %}
+        <div id="disqus_thread"></div>
+        <script>
+        var disqus_shortname ="{{ comment_system_id }}",
+        {% if url %}
+            disqus_url="{{ url }}",
+        {% endif %}
+        disqus_title={{ title|tojson }},
+        disqus_identifier="{{ identifier }}",
+        disqus_config = function () {
+        {% if lang == 'es' %}
+            this.language = "es_ES";
+        {% else %}
+            this.language = "{{ lang }}";
+        {% endif %}
+        };
+        (function() {
+            var dsq = document.createElement('script'); dsq.async = true;
+            dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
+            (document.getElementsByTagName('head')[0] || 
document.getElementsByTagName('body')[0]).appendChild(dsq);
+        })();
+    </script>
+    <noscript>Please enable JavaScript to view the <a 
href="https://disqus.com/?ref_noscript"; rel="nofollow">comments powered by 
Disqus.</a></noscript>
+    <a href="https://disqus.com"; class="dsq-brlink" rel="nofollow">Comments 
powered by <span class="logo-disqus">Disqus</span></a>
+    {% endif %}
+{% endmacro %}
+
+{% macro comment_link(link, identifier) %}
+    {% if comment_system_id %}
+    <a href="{{ link }}#disqus_thread" data-disqus-identifier="{{ identifier 
}}">Comments</a>
+    {% endif %}
+{% endmacro %}
+
+
+{% macro comment_link_script() %}
+    {% if comment_system_id %}
+       <script>var disqus_shortname="{{ comment_system_id }}";(function(){var 
a=document.createElement("script");a.async=true;a.src="https://"+disqus_shortname+".disqus.com/count.js";;(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>
+    {% endif %}
+{% endmacro %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/index.tmpl
----------------------------------------------------------------------
diff --git a/nikola_site_generator/themes/impala-theme/templates/index.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/index.tmpl
new file mode 100644
index 0000000..646c45f
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/index.tmpl
@@ -0,0 +1,71 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+{% import 'index_helper.tmpl' as helper with context %}
+{% import 'comments_helper.tmpl' as comments with context %}
+{% extends 'base.tmpl' %}
+
+{% block extra_head %}
+    {{ super() }}
+    {% if posts and (permalink == '/' or permalink == '/' + index_file) %}
+        <link rel="prefetch" href="{{ posts[0].permalink() }}" 
type="text/html">
+    {% endif %}
+{% endblock %}
+
+{% block content %}
+{% block content_header %}{% endblock %}
+{% if 'main_index' in pagekind %}
+    {{ front_index_header }}
+{% endif %}
+<h3>All articles</h3>
+<div class="postindex">
+{% for post in posts %}
+    <hr />
+    <article class="h-entry post-{{ post.meta('type') }}">
+    <header>
+        <h3 class="p-name entry-title"><a href="{{ post.permalink() }}" 
class="u-url">{{ post.title()|e }}</a></h3>
+        <div class="metadata">
+            <p class="byline author vcard"><span class="byline-name fn">
+            {% if author_pages_generated %}
+                <a href="{{ _link('author', post.author()) }}">{{ 
post.author()|e }}</a>
+            {% else %}
+                {{ post.author()|e }}
+            {% endif %}
+            </span></p>
+            <p class="dateline"><a href="{{ post.permalink() }}" 
rel="bookmark"><time class="published dt-published" datetime="{{ 
post.formatted_date('webiso') }}" title="{{ post.formatted_date(date_format)|e 
}}">{{ post.formatted_date(date_format)|e }}</time></a></p>
+            {% if not post.meta('nocomments') and site_has_comments %}
+                <p class="commentline">{{ 
comments.comment_link(post.permalink(), post._base_path) }}
+            {% endif %}
+        </div>
+    </header>
+    {% if index_teasers %}
+    <div class="p-summary entry-summary">
+    {{ post.text(teaser_only=True) }}
+    {% else %}
+    <div class="e-content entry-content">
+    {{ post.text(teaser_only=False) }}
+    {% endif %}
+    </div>
+    </article>
+{% endfor %}
+</div>
+{{ helper.html_pager() }}
+{{ comments.comment_link_script() }}
+{% endblock %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/index_helper.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/index_helper.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/index_helper.tmpl
new file mode 100644
index 0000000..8bbebb3
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/index_helper.tmpl
@@ -0,0 +1,40 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+
+<!-- Adds the Newer posts and Older posts navigation element to the page -->
+{% macro html_pager() %}
+    {% if prevlink or nextlink %}
+        <nav class="postindexpager">
+        <ul class="pager">
+        {% if prevlink %}
+            <li class="previous">
+                <a href="{{ prevlink }}" rel="prev">{{ messages("Newer posts") 
}}</a>
+            </li>
+        {% endif %}
+        {% if nextlink %}
+            <li class="next">
+                <a href="{{ nextlink }}" rel="next">{{ messages("Older posts") 
}}</a>
+            </li>
+        {% endif %}
+        </ul>
+        </nav>
+    {% endif %}
+{% endmacro %}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/post.tmpl
----------------------------------------------------------------------
diff --git a/nikola_site_generator/themes/impala-theme/templates/post.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/post.tmpl
new file mode 100644
index 0000000..40d7589
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/post.tmpl
@@ -0,0 +1,66 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+{% import 'post_helper.tmpl' as helper with context %}
+{% import 'post_header.tmpl' as pheader with context %}
+{% import 'comments_helper.tmpl' as comments with context %}
+{% extends 'base.tmpl' %}
+
+{% block extra_head %}
+    {{ super() }}
+    {% if post.meta('keywords') %}
+    <meta name="keywords" content="{{ post.meta('keywords')|e }}">
+    {% endif %}
+    {% if post.description() %}
+    <meta name="description" content="{{ post.description()|e }}">
+    {% endif %}
+    <meta name="author" content="{{ post.author()|e }}">
+    {% if post.prev_post %}
+        <link rel="prev" href="{{ post.prev_post.permalink() }}" title="{{ 
post.prev_post.title()|e }}" type="text/html">
+    {% endif %}
+    {% if post.next_post %}
+        <link rel="next" href="{{ post.next_post.permalink() }}" title="{{ 
post.next_post.title()|e }}" type="text/html">
+    {% endif %}
+    {% if post.is_draft %}
+        <meta name="robots" content="noindex">
+    {% endif %}
+{% endblock %}
+
+{% block content %}
+<article class="post-{{ post.meta('type') }} h-entry hentry postpage" 
itemscope="itemscope" itemtype="http://schema.org/Article";>
+    {{ pheader.html_post_header() }}
+    <div class="e-content entry-content" itemprop="articleBody text">
+    {{ post.text() }}
+    </div>
+    <aside class="postpromonav">
+    <nav>
+    {{ helper.html_tags(post) }}
+    {{ helper.html_pager(post) }}
+    </nav>
+    </aside>
+    {% if not post.meta('nocomments') and site_has_comments %}
+        <section class="comments hidden-print">
+        <h3>{{ messages("Comments") }}</h3>
+        {{ comments.comment_form(post.permalink(absolute=True), post.title(), 
post._base_path) }}
+        </section>
+    {% endif %}
+</article>
+{{ comments.comment_link_script() }}
+{% endblock %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/post_header.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/post_header.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/post_header.tmpl
new file mode 100644
index 0000000..0b44779
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/post_header.tmpl
@@ -0,0 +1,62 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+{% import 'post_helper.tmpl' as helper with context %}
+{% import 'comments_helper.tmpl' as comments with context %}
+
+{% macro html_title() %}
+{% if title and not post.meta('hidetitle') %}
+    <h3 class="p-name entry-title" itemprop="headline name"><a href="{{ 
post.permalink() }}" class="u-url">{{ post.title()|e }}</a></h3>
+{% endif %}
+{% endmacro %}
+
+{% macro html_sourcelink() %}
+    {% if show_sourcelink %}
+        <p class="sourceline"><a href="{{ post.source_link() }}" 
id="sourcelink">{{ messages("Source") }}</a></p>
+    {% endif %}
+{% endmacro %}
+
+{% macro html_post_header() %}
+    <header>
+        {{ html_title() }}
+        <div class="metadata">
+            <p class="byline author vcard">
+                <span class="byline-name fn">
+                    {% if author_pages_generated %}
+                        <a href="{{ _link('author', post.author()) }}">{{ 
post.author()|e }}</a>
+                    {% else %}
+                        {{ post.author()|e }}
+                    {% endif %}
+                </span>
+            </p>
+            <p class="dateline"><a href="{{ post.permalink() }}" 
rel="bookmark"><time class="published dt-published" datetime="{{ 
post.formatted_date('webiso') }}" itemprop="datePublished" title="{{ 
post.formatted_date(date_format)|e }}">{{ post.formatted_date(date_format)|e 
}}</time></a></p>
+            {% if not post.meta('nocomments') and site_has_comments %}
+                <p class="commentline">{{ 
comments.comment_link(post.permalink(), post._base_path) }}
+            {% endif %}
+            {{ html_sourcelink() }}
+            {% if post.meta('link') %}
+                    <p class="linkline"><a href="{{ post.meta('link') }}">{{ 
messages("Original site") }}</a></p>
+            {% endif %}
+            {% if post.description() %}
+                <meta name="description" itemprop="description" content="{{ 
post.description()|e }}">
+            {% endif %}
+        </div>
+    </header>
+{% endmacro %}

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b03b9151/nikola_site_generator/themes/impala-theme/templates/post_helper.tmpl
----------------------------------------------------------------------
diff --git 
a/nikola_site_generator/themes/impala-theme/templates/post_helper.tmpl 
b/nikola_site_generator/themes/impala-theme/templates/post_helper.tmpl
new file mode 100644
index 0000000..33f2700
--- /dev/null
+++ b/nikola_site_generator/themes/impala-theme/templates/post_helper.tmpl
@@ -0,0 +1,49 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+{#  -*- coding: utf-8 -*- #}
+
+{% macro html_tags(post) %}
+    {% if post.tags %}
+        <ul itemprop="keywords" class="tags">
+        {% for tag in post.tags %}
+          {% if tag not in hidden_tags %}
+            <li><a class="tag p-category" href="{{ _link('tag', tag) }}" 
rel="tag">{{ tag|e }}</a></li>
+          {% endif %}
+        {% endfor %}
+        </ul>
+    {% endif %}
+{% endmacro %}
+
+{% macro html_pager(post) %}
+    {% if post.prev_post or post.next_post %}
+        <ul class="pager hidden-print">
+        {% if post.prev_post %}
+            <li class="previous">
+                <a href="{{ post.prev_post.permalink() }}" rel="prev" 
title="{{ post.prev_post.title()|e }}">{{ messages("Previous post") }}</a>
+            </li>
+        {% endif %}
+        {% if post.next_post %}
+            <li class="next">
+                <a href="{{ post.next_post.permalink() }}" rel="next" 
title="{{ post.next_post.title()|e }}">{{ messages("Next post") }}</a>
+            </li>
+        {% endif %}
+        </ul>
+    {% endif %}
+{% endmacro %}

Reply via email to