{#
    groonga/layout.html
    ~~~~~~~~~~~~~~~~~~~

    Sphinx layout template for the groonga theme.

    :copyright: Copyright 2011 by the groonga team, see AUTHORS.
    :license: LGPLv2, see LICENSE for details.
#}
{% extends "default/layout.html" %}
{% set favicon = "favicon.ico" %}

{% block header %}
<div class="header">
  <h1 class="title">
    <a id="top-link" href="{{ pathto('index') }}">
      <span class="project">groonga</span>
      <span class="separator">-</span>
{%- if language == "en" %}
      <span class="description">An open-source fulltext search engine and column store.</span>
{%- endif %}
{%- if language == "ja" %}
      <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
{%- endif %}
    </a>
  </h1>

  <div class="other-language-links">
    <ul>
{%- if language != "en" %}
      <li><a href="{{ pathto('../../en/html/', 1) }}{{ pathto(pagename, 0, '.') }}"><img src="{{ pathto('_static/us.png', 1) }}" alt="English">English page</a></li>
{%- endif %}
{%- if language != "ja" %}
      <li><a href="{{ pathto('../../ja/html/', 1) }}{{ pathto(pagename, 0, '.') }}"><img src="{{ pathto('_static/jp.png', 1) }}" alt="日本語">日本語版はこちら</a></li>
{%- endif %}
    </ul>
  </div>
</div>
  {{ super() }}
{% endblock %}
