Skip to content

Commit

Permalink
Convert icons to PNG so that Safari will load them.
Browse files Browse the repository at this point in the history
Conversion done with ImageMagick:
  convert -background none Ansible-Mark-RGB_Black.svg -resize 180x180 Ansible-Mark-RGB_Black.png
  convert -background none Ansible-Mark-RGB_White.svg -resize 180x180 Ansible-Mark-RGB_White.png
  • Loading branch information
felixfontein committed Feb 4, 2022
1 parent efe597a commit 03303c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx_ansible_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#}
{%-
set ansible_logo_url = logo_url
or ('_static/' + (logo or 'images/Ansible-Mark-RGB_White.svg'))
or ('_static/' + (logo or 'images/Ansible-Mark-RGB_White.png'))
%}
{%- set logo_url = '' %}{# Reset to prevent render in the RTD theme #}
{%- set logo = logo_url %}
{%-
set favicon_url = favicon_url
or ('_static/' + (favicon or 'images/Ansible-Mark-RGB_Black.svg'))
or ('_static/' + (favicon or 'images/Ansible-Mark-RGB_Black.png'))
%}
{%- 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 %}
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 03303c2

Please sign in to comment.