27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
---
|
|
title: Customize the Favicon
|
|
author: Cotes Chung
|
|
date: 2019-08-11 00:34:00 +0800
|
|
categories: [Blogging, Tutorial]
|
|
tags: [favicon]
|
|
toc: false
|
|
---
|
|
|
|
In [**Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/), the image files of [Favicons](https://www.favicon-generator.org/about/) are placed in `assets/img/favicons/`. You may need to replace them with your own. So let's see how to customize these Favicons.
|
|
|
|
With a square image (PNG, JPG or GIF) in hand, open the site [*Favicon & App Icon Generator*](https://www.favicon-generator.org/) and upload your original image.
|
|
|
|

|
|
|
|
Click button <kbd>Create Favicon</kbd> and wait a moment for the website to generate the icons of various sizes automatically.
|
|
|
|

|
|
|
|
Download the generated package, unzip and delete the following two from the extracted files:
|
|
|
|
- browserconfig.xml
|
|
- manifest.json
|
|
|
|
Now, copy the rest image files (`.PNG` and `.ICO`) to cover the original one in folder `assets/img/favicons/`.
|
|
|
|
Lastly, don't forget to rebuild your site so that the icon becomes your custom edition.
|