Skip to content

Commit 5088726

Browse files
committed
Replace low-res favicon with one from python.org
1 parent a0d0d8b commit 5088726

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

python_docs_theme/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
{% endblock %}
3737

3838
{% block extrahead %}
39-
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' + theme_root_icon, 1) }}" />
39+
<link rel="icon" type="image/x-icon" href="{{ pathto('_static/' + theme_root_favicon, 1) }}" />
4040
{% if builder != "htmlhelp" %}
4141
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
4242
{% endif %}

python_docs_theme/static/favicon.ico

14.7 KB
Binary file not shown.

python_docs_theme/theme.conf

+1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ headlinkcolor = #aaaaaa
2525
issues_url =
2626
root_name = Python
2727
root_url = https://www.python.org/
28+
root_favicon = favicon.ico
2829
root_icon = py.png
2930
root_include_title = True

0 commit comments

Comments
 (0)