{% extends "base.html" %} {% block body -%} {% include "partials/icons.html" %}

<input
  type="checkbox"
  class="sidebar-toggle"
  name="__navigation"
  id="__navigation"
/>
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc" />
<label class="overlay sidebar-overlay" for="__navigation"></label>
<label class="overlay toc-overlay" for="__toc"></label>

{% if theme_announcement -%}
<div class="announcement">
  <aside class="announcement-content">
    {% block announcement %} {{ theme_announcement }} {% endblock announcement
    %}
  </aside>
</div>
{%- endif %}

<div class="page">
  <header class="mobile-header">
    <div class="header-left">
      <label class="nav-overlay-icon" for="__navigation">
        <i class="icon"
          ><svg><use href="#svg-menu"></use></svg
        ></i>
      </label>
    </div>
    <div class="header-center">
      <a href="{{ pathto(master_doc) }}"
        ><div class="brand">{{ docstitle }}</div></a
      >
    </div>
    <div class="header-right">
      <label
        class="
          toc-overlay-icon toc-header-icon{%
          if
          neocrym_sphinx_theme_hide_toc
          %}
          no-toc{%
          endif
          %}
        "
        for="__toc"
      >
        <i class="icon"
          ><svg><use href="#svg-toc"></use></svg
        ></i>
      </label>
    </div>
  </header>
  <aside class="sidebar-drawer">
    <div class="sidebar-container">
      {% block left_sidebar %}
      <div class="sidebar-sticky">
        {%- for sidebar_section in sidebars %} {%- include sidebar_section %}
        {%- endfor %}
      </div>
      {% endblock left_sidebar %}
    </div>
  </aside>
  <main class="main">
    <div class="content">
      <article role="main">
        <label
          class="
            toc-overlay-icon toc-content-icon{%
            if
            neocrym_sphinx_theme_hide_toc
            %}
            no-toc{%
            endif
            %}
          "
          for="__toc"
        >
          <i class="icon"
            ><svg><use href="#svg-toc"></use></svg
          ></i>
        </label>
        {% block content %}{{ body }}{% endblock %}
      </article>
      <footer>
        {% block footer %}
        <div class="related-pages">
          {% if next -%}
          <a class="next-page" href="{{ next.link }}">
            <div class="page-info">
              <div class="context">
                <span>{{ _("Next") }}</span>
              </div>
              <div class="title">{{ next.title }}</div>
            </div>
            <svg><use href="#svg-arrow-right"></use></svg>
          </a>
          {%- endif %} {% if prev -%}
          <a class="prev-page" href="{{ prev.link }}">
            <svg><use href="#svg-arrow-right"></use></svg>
            <div class="page-info">
              <div class="context">
                <span>{{ _("Previous") }}</span>
              </div>
              {% if prev.link == pathto(master_doc) %}
              <div class="title">{{ _("Home") }}</div>
              {% else %}
              <div class="title">{{ prev.title }}</div>
              {% endif %}
            </div>
          </a>
          {%- endif %}
        </div>

        <div class="related-information">
          Copyright © Neocrym Records Inc. <br />
          <table class="neocrym-footer-table">
            <tr>
              <td><a href="https://github.com/neocrym">GitHub</a></td>
              <td><a href="https://www.neocrym.com">Neocrym.com</a></td>
            </tr>
            <tr>
              <td><a href="https://www.npmjs.com/org/neocrym">npm</a></td>
              <td><a href="https://www.neocrym.com/privacy/">Privacy Policy</a></td>
            </tr>
            <tr>
              <td><a href="https://crates.io/users/neocrym-bot">crates.io</a></td>
              <td><a href="https://www.neocrym.com/careers/">Careers</a></td>
            </tr>
            <tr>
              <td><a href="https://pypi.org/user/neocrym/">PyPI</a></td>
              <td><a href="https://technology.neocrym.com">Technology at Neocrym</a></td>
            </tr>
          </table>
        </div>
        {% endblock footer %}
      </footer>
    </div>
    <aside
      class="toc-drawer{% if neocrym_sphinx_theme_hide_toc %} no-toc{% endif %}"
    >
      {% block right_sidebar %} {% if not neocrym_sphinx_theme_hide_toc %}
      <div class="toc-sticky toc-scroll">
        <div class="toc-title-container">
          <span class="toc-title"> {{ _("Contents") }} </span>
        </div>
        <div class="toc-tree-container">
          <div class="toc-tree">{{ toc }}</div>
        </div>
      </div>
      {% endif %} {% endblock right_sidebar %}
    </aside>
  </main>
</div>
{%- endblock %}
