Favicon with GitHub Pages

Yes, you can.

Put this into the head part of your webpage:

 <link rel="shortcut icon" type="image/x-icon" href="https://stackoverflow.com/questions/35037482/favicon.ico">

It is important to not put the slash before the favicon.ico part. Put the favicon.ico file in your repository’s home directory.

Leave a Comment