{# revealjs/layout.html ~~~~~~~~~~~~~~~~~~~~~~~~~~ Master layout template for Sphinx themes. :copyright: tell-k :license: MIT License #} {%- block doctype -%} {%- endblock %} {%- set url_root = pathto('', 1) %} {# XXX necessary? #} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} {%- set titlesuffix = " — "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {%- macro script() %} {%- endmacro %} {%- macro css() %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {%- block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {%- endblock %} {{ metatags }} {{ css() }} {%- if not embedded %} {%- if favicon %} {%- endif %} {%- endif %} {%- for scriptfile in script_files %} {%- if scriptfile not in ('_static/jquery.js', '_static/underscore.js', '_static/doctools.js') %} {%- endif %} {%- endfor %} {% block body %}{% endblock %} {{ script() }} {% if theme_customjs -%} {% endif %}