File tree 1 file changed +3
-3
lines changed
src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
{% endif %}
8
8
< a class ="navbar-brand logo " href ="{{ href }} ">
9
9
{# get all the brand information from html_theme_option #}
10
- {% set is_logo = logo or theme_logo.get("image_light") or theme_logo.get("image_dark") %}
11
- {% set image_light = theme_logo.get("image_light") or logo %}
12
- {% set image_dark = theme_logo.get("image_dark") or logo %}
10
+ {% set is_logo = logo_url or theme_logo.get("image_light") or theme_logo.get("image_dark") %}
11
+ {% set image_light = theme_logo.get("image_light") or logo_url %}
12
+ {% set image_dark = theme_logo.get("image_dark") or logo_url %}
13
13
{% set image_light = image_light if image_light.startswith("http") else pathto('_static/' + image_light, 1) %}
14
14
{% set image_dark = image_dark if image_dark.startswith("http") else pathto('_static/' + image_dark, 1) %}
15
15
{% set alt = theme_logo.get("alt_text", "Logo image") %}
You can’t perform that action at this time.
0 commit comments