remove unnecessary row and margin in main page layout

This commit is contained in:
Elisabeth Dickinson 2021-03-04 16:47:06 +01:00
parent b3bc0645ad
commit b22c8da061

View File

@ -85,18 +85,16 @@
{# Custom landing page on the root of the documentation #} {# Custom landing page on the root of the documentation #}
{% include "layout_templates/homepage.html" %} {% include "layout_templates/homepage.html" %}
{% else %} {% else %}
<div class="row"> <article class="doc-body">
<article class="doc-body mb-5"> <!-- Beacon used by the Sphinx search to know where to look for a string -->
<!-- Beacon used by the Sphinx search to know where to look for a string --> <div role="main">
<div role="main"> {% block body %} {% endblock %}
{% block body %} {% endblock %} </div>
</div> {# Do not show the edition link for pages without content #}
{# Do not show the edition link for pages without content #} {% if github_link and 'has_only_toc' not in meta and pagename != 'search' %}
{% if github_link and 'has_only_toc' not in meta and pagename != 'search' %} <a href="{{ github_link(mode='edit') }}" class="o_git_link"><i class="i-edit"></i> Edit on GitHub</a>
<a href="{{ github_link(mode='edit') }}" class="o_git_link"><i class="i-edit"></i> Edit on GitHub</a> {% endif %}
{% endif %} </article>
</article>
</div>
{% endif %} {% endif %}
</div> </div>
<div id="mask"></div> <div id="mask"></div>