{% extends '!layout.html' %}

{# Add github banner (from: https://github.com/blog/273-github-ribbons). #}
{% block header %}
  {{ super() }}
  {% if pagename == "index" %}
      <a href="https://github.com/nucleic/enaml"
         class="visible-desktop"><img
        style="position: absolute; top: 50px; right: 0; border: 0; z-index:1"
        src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"
        alt="Fork me on GitHub"></a>
  {% endif %}
{% endblock %}


{% block extrahead %}
  {{ super() }}
  <link rel="stylesheet" href="{{ pathto('_static/enamldoc.css', 1) }}" type="text/css" />
  <script type="text/javascript" src="{{ pathto('_static/enamldoc.js', 1) }}"></script>
{% endblock %}


{%- block sidebar1 %}
  {%- if sidebars %}
    <div class="{{ bs_span_prefix }}3">
      <div id="enamldoc-sidebar" class="enamldoc-sidenav" role="complementary">
        {%- for sidebartemplate in sidebars %}
          {%- include sidebartemplate %}
        {%- endfor %}
      </div>
    </div>
  {% endif %}
{% endblock %}
