| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 45793b5 commit beb868f
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 14 | 14 | </li> | |
| 15 | 15 | {%- endfor %} | |
| 16 | 16 | {%- block rootrellink %} | |
| 17 | - <li><img src="{{ pathto('_static/py.svg', 1) }}" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li> | ||
| 17 | + <li><img src="{{ pathto('_static/' ~ theme_root_icon, 1) }}" alt="{{ theme_root_icon_alt_text }}" style="vertical-align: middle; margin-top: -1px"/></li> | ||
| 18 | 18 | <li><a href="{{theme_root_url}}">{{theme_root_name}}</a>{{ reldelim1 }}</li> | |
| 19 | 19 | <li class="switchers"> | |
| 20 | 20 | <div class="language_switcher_placeholder"></div> | |
@@ -71,7 +71,7 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 71 | 71 | ||
| 72 | 72 | {%- block extrahead -%} | |
| 73 | 73 | <link rel="stylesheet" href="{{ pathto('_static/pydoctheme_dark.css', 1) }}" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css"> | |
| 74 | - <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' + theme_root_icon, 1) }}" /> | ||
| 74 | + <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' ~ theme_root_icon, 1) }}" /> | ||
| 75 | 75 | {%- if builder != "htmlhelp" %} | |
| 76 | 76 | {%- if not embedded %} | |
| 77 | 77 | <script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script> | |
@@ -100,7 +100,7 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 100 | 100 | </label> | |
| 101 | 101 | <span class="nav-items-wrapper"> | |
| 102 | 102 | <a href="{{ theme_root_url }}" class="nav-logo"> | |
| 103 | - <img src="{{ pathto('_static/py.svg', 1) }}" alt="Logo"/> | ||
| 103 | + <img src="{{ pathto('_static/' ~ theme_root_icon, 1) }}" alt="{{ theme_root_icon_alt_text }}"/> | ||
| 104 | 104 | </a> | |
| 105 | 105 | <span class="version_switcher_placeholder"></span> | |
| 106 | 106 | {%- if pagename != "search" and builder != "singlehtml" %} | |
@@ -121,7 +121,7 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 121 | 121 | {%- if logo %} | |
| 122 | 122 | <p class="logo"> | |
| 123 | 123 | <a href="{{ pathto('index') }}"> | |
| 124 | - <img class="logo" src="{{ pathto('_static/' + logo, 1)|e }}" alt="Logo"/> | ||
| 124 | + <img class="logo" src="{{ pathto('_static/' ~ logo, 1)|e }}" alt="Logo"/> | ||
| 125 | 125 | </a> | |
| 126 | 126 | </p> | |
| 127 | 127 | {%- endif %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,5 +31,6 @@ license_url = | |||
| 31 | 31 | root_name = Python | |
| 32 | 32 | root_url = https://www.python.org/ | |
| 33 | 33 | root_icon = py.svg | |
| 34 | + root_icon_alt_text = Python logo | ||
| 34 | 35 | root_include_title = True | |
| 35 | 36 | copyright_url = | |
| Back | FazBrowse Home | New Git URL |
0 commit comments