html - Favicon with GitHub Pages -


i'm hosting few sites github pages (user , project pages), not displaying favicons (in browser).

<link rel="shortcut icon" type="image/png" href="/favicon.png"> 

is problem github displays site <frameset>? know it's possible display favicons (at least jekyll), can display favicon on it's own?

yes, can.

put head part of webpage:

 <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> 

it important not put slash before favicon.ico part. put favicon.ico file in repository's home directory.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -