{% import "macro.html" as macro -%}

<!DOCTYPE html>
<html lang="en">
    <head>
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
      <title>{% block title %}{{ config.title }}{% endblock title %}</title>
      <link rel="stylesheet" href="{{ get_url(path="main.css") | safe }}">
      {% block extrahead %}
      {% endblock extrahead %}
    </head>

    <body>
      <header>
        {% block header %}
        <nav>
          <h1><a href="/">Boltzmann</a></h1>

          <div id="searchbox">
            <input type="search" id="search" placeholder="search the docs" />
            <i>|</i>
          </div>

          <ul id="sitenav">
            <li><a href="#">Download</a></li>
            <li><a href="#">About</a></li>
            <li><a href="#">GitHub</a></li>
            <li class="active"><a href="#">Documentation</a></li>
          </ul>

          <nav id="versions">
            <!-- these contents will be replaced by the github release workflow. -->
            <a href="#versions">→v0.2.0</a>
<div>
<ul>
<li class="active ">
<a href="https://www.boltzmann.dev/en/docs/v0.2.0"> v0.2.0 </a>
</li>
<li class=" prerelease">
<a href="https://www.boltzmann.dev/en/docs/v0.2.0-alpha5"> v0.2.0-alpha5 </a>
</li>
<li class=" prerelease">
<a href="https://www.boltzmann.dev/en/docs/v0.2.0-alpha4"> v0.2.0-alpha4 </a>
</li>
<li class=" prerelease">
<a href="https://www.boltzmann.dev/en/docs/v0.2.0-alpha3"> v0.2.0-alpha3 </a>
</li>
<li class=" prerelease">
<a href="https://www.boltzmann.dev/en/docs/v0.2.0-alpha2"> v0.2.0-alpha2 </a>
</li>
<li class=" prerelease">
<a href="https://www.boltzmann.dev/en/docs/v0.2.0-alpha1"> v0.2.0-alpha1 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.9"> v0.1.9 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.8"> v0.1.8 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.5"> v0.1.5 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.4"> v0.1.4 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.3"> v0.1.3 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.2"> v0.1.2 </a>
</li>
<li class=" prerelease">
<a href="https://www.boltzmann.dev/en/docs/v0.1.2-alpha0"> v0.1.2-alpha0 </a>
</li>
<li class=" ">
<a href="https://www.boltzmann.dev/en/docs/v0.1.1"> v0.1.1 </a>
</li>
</ul>
<p><small><label for="prerelease"><input id="prerelease" type="checkbox"> Show prerelease versions</label></small></p>
</div>
          </nav>
        </nav>
        {% endblock header %}
      </header>


      <main>

        <nav id="sections">
          {% block sections %}
            {{ macro::tree() }}
          {% endblock sections %}
        </nav>

        <article>
        <div class="search-results"></div>
        <ul class="search-results__items">
        </ul>
        {% block content %}
        {% endblock content %}
        </article>

        <nav id="toc">
          {% block toc %}
          {% endblock toc %}
          &nbsp;
        </nav>
      </main>

      <footer>
        <nav>
        {% block footer %}
          Copyright {{ now() | date(format="%Y") }} Boltzmann contributors
        {% endblock %}
        </nav>
      </footer>

      <script type="text/javascript" src="{{ get_url(path="elasticlunr.min.js") }}"></script>
      <script type="text/javascript" src="{{ get_url(path="search_index.en.js") }}"></script>
      <script type="text/javascript" src="{{ get_url(path="themes.js") | safe }}"></script>
    </body>
</html>

