- Notifications
You must be signed in to change notification settings - Fork27.2k
-
What happened?
I have added favicon.png in the main folder of the repo. I have also updated _includes/head.html :nicolgit@1501dd8 the result is that if i openhttps://nicolgit.github.io I see the favicon on the browser tab, I am not able to see the same icon if I open any blog post (i.e.https://nicolgit.github.io/azure-hub-and-spoke-playground/) Expected behaviorsee the favicon icon ALSO on any blog post Steps to reproduce the behaviorN/A OtherNo response |
BetaWas this translation helpful?Give feedback.
All reactions
Yourfavicon path isn't correct, that's why it doesn't show up any of your post/pages and only the home.
You need to make it relative, which can easily be done by adding a preceding/ or using Jekyll'srelative_url filter.
Changeyour favicon line to this:
<linkrel="shortcut icon"type="image/png"href="{{ 'favicon.png' | relative_url }}">
Replies: 1 comment 2 replies
-
Your Changeyour favicon line to this: <linkrel="shortcut icon"type="image/png"href="{{ 'favicon.png' | relative_url }}"> |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
problem resolved with your help, thank you! |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
After a lot of experimenting and failing, I found that it should be (for me): NOT: |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #3487 on February 25, 2022 14:54.