/usr/share/sphinx/themes/cloud/layout.html is in cloud-sptheme-common 1.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | {#
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
#}
{% 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/cloud.js'] %}
{# add font stylesheets #}
{% set css_files = css_files + [theme_fontcssurl] %}
{# make root link redirectable #}
{%- set theme_roottarget = (theme_roottarget == "<toc>" and master_doc or theme_roottarget) %}
{% block rootrellink %}
<li><a href="{{ pathto(theme_roottarget) }}">{{shorttitle|e}}</a>{{reldelim1}}</li>
{% endblock %}
{# make logo link redirectable #}
{%- set theme_logotarget = (theme_logotarget == "<root>" and theme_roottarget or (theme_logotarget == "<toc>" and master_doc or theme_logotarget)) %}
{%- block sidebarlogo %}
{%- if logo %}
<p class="logo"><a href="{{ pathto(theme_logotarget) }}" title="{{ theme_logotarget }}">
<img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
</a></p>
{%- endif %}
{%- endblock %}
{# wrap relbars in distinct classes to make themeing easier #}
{%- block relbar1 %}
<div class="relbar-top">
{{ super() }}
</div>
{% endblock %}
{%- block relbar2 %}
<div class="relbar-bottom">
{{ super() }}
</div>
{% endblock %}
{% block extrahead -%}
{{ super() }}
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- endblock %}
{% block body -%}
{# hack to insert lang=en in scope of div.body #}
{% if theme_hyphenation_langage %}
<div lang="{{ theme_hyphenation_language }}">{{ super() }}</div>
{% endif %}
{%- endblock %}
{% block sidebar2 -%}
{{ super() }}
{# insert markup for sidebar toggle button #}
{% block sidebartoggle %}
<div class="sidebar-toggle-group no-js">
{% set right = theme_rightsidebar|tobool %}
<button class="sidebar-toggle" id="sidebar-hide" title="Hide the sidebar menu">
{% if not right %} «{% endif %}
<span class="show-for-small">hide menu</span>
{% if right %} »{% endif %}
</button>
<button class="sidebar-toggle" id="sidebar-show" title="Show the sidebar menu">
{% if right %} «{% endif %}
<span class="show-for-small">menu</span>
<span class="hide-for-small">sidebar</span>
{% if not right %} »{% endif %}
</button>
</div>
{% endblock %}
{%- endblock %}
{% block footer -%}
{{ super() }}
<!-- cloud_sptheme 1.4 -->
{%- endblock %}
|