Skip to content

Commit 720e8f1

Browse files
authored
Add DocsSearch-content class (#74)
1 parent 61e8634 commit 720e8f1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/_templates/layout.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,20 @@
2626
}}();
2727
</script>
2828
{% endblock %}
29+
{%- block content %}
30+
{% if theme_style_external_links|tobool %}
31+
<div class="rst-content style-external-links">
32+
{% else %}
33+
<div class="rst-content">
34+
{% endif %}
35+
{% include "breadcrumbs.html" %}
36+
<div role="main" class="document DocSearch-content" itemscope="itemscope" itemtype="http://schema.org/Article">
37+
{%- block document %}
38+
<div itemprop="articleBody">
39+
{% block body %}{% endblock %}
40+
</div>
41+
</div>
42+
{%- endblock %}
43+
{% include "footer.html" %}
44+
</div>
45+
{%- endblock %}

0 commit comments

Comments
 (0)