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 |
Answered by
mmistakes
Feb 28, 2022
Replies: 1 comment 2 replies
|
Your Change your favicon line to this: <link rel="shortcut icon" type="image/png" href="{{ 'favicon.png' | relative_url }}"> |
2 replies
Answer selected by
mmistakes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your
faviconpath 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_urlfilter.Change your favicon line to this: