summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/templates/layout.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/templates/layout.html b/sphinx/templates/layout.html
index d9c9045d3..9f5660220 100644
--- a/sphinx/templates/layout.html
+++ b/sphinx/templates/layout.html
@@ -128,8 +128,12 @@
{%- if hasdoc('about') %}
<link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
{%- endif %}
+ {%- if hasdoc('genindex') %}
<link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
+ {%- endif %}
+ {%- if hasdoc('search') %}
<link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
+ {%- endif %}
{%- if hasdoc('copyright') %}
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
{%- endif %}