mirror of
https://github.com/python/cpython.git
synced 2026-10-28 10:25:05 +08:00
gh-141674: Docs: Add 'Python' to the <title> of the landing page (#141868)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org>
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -319,7 +319,7 @@ if any('htmlhelp' in arg for arg in sys.argv):
|
||||
print("It may be removed in the future\n")
|
||||
|
||||
# Short title used e.g. for <title> HTML tags.
|
||||
html_short_title = f'{release} Documentation'
|
||||
html_short_title = f'{release} documentation'
|
||||
|
||||
# Deployment preview information
|
||||
# (See .readthedocs.yml and https://docs.readthedocs.io/en/stable/reference/environment-variables.html)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "layout.html" %}
|
||||
{%- block htmltitle -%}
|
||||
<title>{{ shorttitle }}</title>
|
||||
<title>Python {{ release }} documentation</title>
|
||||
{%- endblock -%}
|
||||
{%- block extrahead -%}
|
||||
{{ super() }}
|
||||
|
||||
Reference in new issue
Block a user