Add document block and rename bodycontent content

This commit is contained in:
Aaron Carlisle 2018-02-15 09:47:29 -05:00 committed by GitHub
parent 178e94aca8
commit ac910bb739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@
<div class="wy-nav-content"> <div class="wy-nav-content">
{%- block pagecontent %} {%- 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,6 +178,7 @@
</div> </div>
{% endif%} {% endif%}
</div> </div>
{%- endblock %}
{% include "footer.html" %} {% include "footer.html" %}
</div> </div>
{%- endblock %} {%- endblock %}