Skip to content

Commit

Permalink
Get correct favicon URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 4, 2022
1 parent b2c9255 commit afacfa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_ansible_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
or ('_static/' + (favicon or 'images/Ansible-Mark-RGB_Black.svg'))
%}
{%- set favicon = favicon_url | replace('_static/', '', 1) %}
{%- set favicon_url = pathto(favicon_url, 1) if '//' not in favicon_url and not favicon_url.startswith('/') else favicon_url %}

{%- extends "sphinx_rtd_theme/layout.html" %}

Expand Down

0 comments on commit afacfa8

Please sign in to comment.