{%- extends "alabaster/layout.html" %}

{%- block document %}
      {{ super() }}
      
      <div style="clear:both;"></div> {# Fix interaction with floating .sphinxsidebar #}
      
      <div id="footnote-preview"></div>
      
      <div class="pre-footer">
        <a href="https://gumroad.com/l/KErDHC">Buy the ebook: Pay what you want</a>
      </div>
      
      <div class="nav-page-holder">
        {%- if prev %}
        <a href="{{ prev.link|e }}" class="nav-page-prev"><span class="arrow">&lsaquo;</span><span>Prev</span></a>
        {%- endif %}
        {%- if next %}
        <a href="{{ next.link|e }}" class="nav-page-next"><span class="arrow">&rsaquo;</span><span>Next</span></a>
        {%- endif %}
      </div>
{%- endblock %}

{%- block footer %}
    <div class="footer">
      Edition {{ release }} | Copyright &copy; {{ copyright }} | <a href="introduction.html#copyright">CC BY-SA 4.0 / GFDL 1.3</a>
      {%- if show_source and has_source and sourcename %}
      {% if show_copyright or theme_show_powered_by %}|{% endif %}
      <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
          rel="nofollow">{{ _('Page source') }}</a>
      {%- endif %}
    </div>
{%- endblock %}