mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge pull request #577 from rtfd/content-block
Add a block around the page content
This commit is contained in:
commit
6d0136fd69
@ -159,8 +159,8 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
{# PAGE CONTENT #}
|
|
||||||
<div class="wy-nav-content">
|
<div class="wy-nav-content">
|
||||||
|
{%- block content %}
|
||||||
{% if theme_style_external_links|tobool %}
|
{% if theme_style_external_links|tobool %}
|
||||||
<div class="rst-content style-external-links">
|
<div class="rst-content style-external-links">
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -168,6 +168,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% include "breadcrumbs.html" %}
|
{% include "breadcrumbs.html" %}
|
||||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||||
|
{%- block document %}
|
||||||
<div itemprop="articleBody">
|
<div itemprop="articleBody">
|
||||||
{% block body %}{% endblock %}
|
{% block body %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
@ -177,8 +178,10 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif%}
|
{% endif%}
|
||||||
</div>
|
</div>
|
||||||
|
{%- endblock %}
|
||||||
{% include "footer.html" %}
|
{% include "footer.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
{%- endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user