Skip to content

Fix path to favicon

Yukai Chou requested to merge muzimuzhi/arara:favicon-path into master

Currently favicon.svg is loaded with a relative path,

<link rel="icon" href="favicon.svg">

which makes any sub-pages unable to load favicon. For example,

image

This Merge Request fixes this by using a full url for favicon and it works for Chrome 107 and Firefox 107, on macOS 12.2.1. Safari is different, it doesn't even show favicon for arara's homepage.

Non-master branch won't deploy GitLab Pages, but you can visit artifacts to check the effect:

image


Favicon support in popular browsers is a mess. I've tried the suggested way in

with no luck. More related resources:

Merge request reports