{#
    mhtheme2/layout.html
    ~~~~~~~~~~~~~~~~~~~~~

    Based on Sphinxdoc
    :license: BSD
#}
{% extends "layout_basic.html" %}

{# do not display sidebars #}
{% block sidebar1 %}{% endblock %}
{% block sidebar2 %}{% endblock %}


{% block extrahead %}
<script src="_static/Hyphenator.js" type="text/javascript"></script>
<script type="text/javascript">
	Hyphenator.config({
		displaytogglebox : true,
		minwordlength : 4
	});
	Hyphenator.run();
</script>
{% endblock %}


{% macro nav() %}
<div class="tableofindex">

{%- if prev %} 
<div class="tableofindexint">       
<a href="{{ prev.link|e }}"><img src="{{pathto("_static/images/previous.png", 1) }}" border="0" alt="previous"/>&#160;&#160;{{ prev.title }}</a>        
</div>
{%- endif %}

<div class="tableofindexint">   
<a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Main') }}</a>
</div>

{%- if next %} 
<div class="tableofindexint">         
<a href="{{ next.link|e }}">{{ next.title }}&#160;&#160;<img src="{{pathto("_static/images/next.png", 1) }}" border="0" alt="next"/></a>       
</div> 
{%- endif %}  

</div> 
{% endmacro %}

{% macro sitecolumn() %}
<div class="sitecolumn">
{%- include "sitecolumn.html" %}
</div>      
{% endmacro %}
        
  {%- block document %}         
        <div class="bodywrapper">           
          <div class="body">
			  <div class="hyphenate">              
            {% block body %} {% endblock %}
              </div>
          </div>
          {{sitecolumn()}}      
        </div>     
  {%- endblock %}

{% block relbar1 %}
<div class="siteheader">
<div class="subsiteheader">
<a href="http://mhnew.jwp.se"><img src="{{pathto("_static/images/logohtml.png", 1) }}" border="0" alt="makehuman API"/></a>
</div>
</div>
{{ nav() }}
{% endblock %}


{% block relbar2 %}
{{ nav() }}
{% endblock %}












