{% extends "basic/layout.html" %}

{# Custom CSS overrides #}
{% set bootswatch_css_custom = [
'https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css',
'//fonts.googleapis.com/css?family=Lato:300,500'] %}



{%- macro bsidebar() %}
{%- endmacro %}

{% set css_files = bootswatch_css_custom  %} 


{%- set bs_span_prefix = "col-md-" %}
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and sidebars %}

{%- set bs_content_width = render_sidebar and "9" or "12"%}

{%- block doctype -%}
<!DOCTYPE html>
{%- endblock %}

{%- block extrahead %}
<meta charset='utf-8'>

<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">

{% endblock %}

{# Silence the sidebars, relbars #}
{% block header %}{% endblock %}
{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
{% block sidebarsourcelink %}{% endblock %}

{%- block content %}

{% include "navbar.html" %}

<div class="container-fluid">
  <div class="row">
    <div class="{{ bs_span_prefix}}2 toc-left">
      {% include "sidebar-left.html" %}
    </div>
    
    <div class="{{ bs_span_prefix }}8 content"       data-spy="scroll" data-target="#localtoc" data-offset="0" >
      {% block body %}{% endblock %}
    </div>

    <div class="{{ bs_span_prefix}}2 toc-right">
      {%- block sidebar1 %}
      {% include "sidebar-right.html" %}
      {% endblock %}
    </div>
  </div>
  
  {%- endblock %}

{%- block footer %}
  <footer class="footer">
    <div class="container-fluid">
      
      <p class="pull-right">
	<a href="#">Back to top</a>
	{% if theme_source_link_position == "footer" %}
        <br/>
        
	{% endif %}
      </p>
      <p>
	{%- if show_copyright %}
	{%- if hasdoc('copyright') %}
        {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
	{%- else %}
        {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/>
	{%- endif %}
	{%- endif %}
	{%- if last_updated %}
	{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/>
	{%- endif %}
	{%- if show_sphinx %}
	{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/>
	{%- endif %}
      </p>
    </div> 
  </footer>

  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
{%- endblock %}
