GitBlog) Favicon
1. Favicon
Favicon is main icon of your git blog. If you set yout favicon, then you can see what like the pic below.
2. How to set a favicon
First, I am using the jekyll theme, ‘Yat’. So, What I introduce in this section is only applied to the same theme.
- Prepare an image that you want to set for your favicon.
- Go to realfavicongenerator.
- Upload your image. Click ‘Select your Favicon Image’.
- Downlaod your package. Click ‘Favicon package’ in the image below. Now, you get a zip file.
- Decompress the zip file. Rename the file decompressed to ‘favicon.ico’.
- Move the file into ‘assets’ folder.
-
Copy the code in the image above. And, paste that at
/_includes/custom_head.html
. You have to copy the relative path of ‘favicon.ico’ folder, and paste that at the{folder_path}
in the code below. - Go to ‘_config.yml’, and set the relative path of ‘favicon.ico’ file in the ‘favicon.ico’ folder the value of
favicon
.