{#
    cloud/layout.html
    ~~~~~~~~~~~~~~~~~
    Sphinx layout template for the cloud theme.
    :copyright: Copyright 2009-2011 Assurance Technologies LLC
    :license: BSD
    roottarget - optional target for root link (default to toc)
    logotarget - optional target for logo link (defaults to root target)
    googleanalytics_id - if set, enabled google analytics snippet & footer
    googleanalytics_path - optional subpatch for GA cookie
    collapsiblesidebar - enable collapsible sidebar support
#}
{% extends "basic/layout.html" %}
{% set reldelim2 = reldim2 is not defined and '    ' or reldelim2 %}
{# add script file to instrument collapsable sections  and other features #}
{% set script_files = script_files + ['_static/jquery.cookie.js',
                                      '_static/toggle_sections.js'] %}
{% if theme_collapsiblesidebar|tobool %}
{% set script_files = script_files + ['_static/toggle_sidebar.js'] %}
{% endif %}
{# add font stylesheets #}
{% set css_files = css_files + [theme_fontcssurl] %}
{# make root link redirectable #}
{%- set theme_roottarget = (theme_roottarget == "" and master_doc or theme_roottarget) %}
{% block rootrellink %}
    {{shorttitle|e}}{{reldelim1}}
{% endblock %}
{# make logo link redirectable #}
{%- set theme_logotarget = (theme_logotarget == "" and theme_roottarget or (theme_logotarget == "" and master_doc or theme_logotarget)) %}
{%- block sidebarlogo %}
    {%- if logo %}
        
           }}) 
        
    {%- endif %}
{%- endblock %}
{# wrap relbars in distinct classes to make themeing easier #}
{%- block relbar1 %}
    
        {{ super() }}
    
{% endblock %}
{%- block relbar2 %}
    
        {{ super() }}
    
{% endblock %}
{% block extrahead -%}
        {{ super() }}
        {%- if theme_googleanalytics_id -%}
        {%- endif %}
{%- endblock %}
{% block footer -%}
    {{ super() }}
    {%- if theme_googleanalytics_id -%}
    {%- endif %}
    
{%- endblock %}