Merge pull request #7533 from mgeier/genindex-whitespace

basic theme: Avoid whitespace at the beginning of genindex.html
This commit is contained in:
Takeshi KOMIYA authored and GitHub committed 2020-04-22 22:38:32 +09:00
commit 039f06f872
1 file changed
+3 -2
+3 -2
View File
@@ -7,6 +7,9 @@
:copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{%- extends "layout.html" %}
{% set title = _('Index') %}
{% macro indexentries(firstname, links) %}
{%- if links -%}
<a href="{{ links[0][1] }}">
@@ -26,8 +29,6 @@
{%- endif %}
{% endmacro %}
{%- extends "layout.html" %}
{% set title = _('Index') %}
{% block body %}
<h1 id="index">{{ _('Index') }}</h1>