forked from pythonpe/python.pe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.html
More file actions
18 lines (15 loc) · 693 Bytes
/
Copy pathpage.html
File metadata and controls
18 lines (15 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{%- extends "!page.html" %}
{% block extrahead %}
{{ super() }}
{# Verifies sphinx_version availability before rendering metatags
This check is crucial to prevent errors during site generation
when sphinxext.opengraph extension is not available #}
{% if sphinx_version %}
{{ metatags }}
{% endif %}
{# Static meta tags manually defined to ensure consistency
These tags will remain unchanged regardless of Sphinx configuration
or its extensions, ensuring a constant site identity #}
<meta name="robots" content="follow, index">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
{% endblock %}