-
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 open https://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 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Your Change your favicon line to this: <link rel="shortcut icon" type="image/png" href="{{ 'favicon.png' | relative_url }}"> |
Beta Was this translation helpful? Give feedback.
Your
favicon
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.Change your favicon line to this: