1. https://realfavicongenerator.net/ 에서 favicon 생성
[생성된 화면]
→ img 패키지를 저장하고 생성된 코드를 복사합니다.
2. 저장된 패키지 업로드
① favicon 생성 페이지에서 저장한 패키지를 압축해제 한다.
② base > assest 폴더의 logo.ico 폴더를 생성한다.
③ logo.ico에 해당 img 파일 전부를 붙여 넣는다.
④ 결과 페이지의 code를 복사하여 _includes 폴더의 custom-head.html에 붙여 넣기 한다.
custom-head.html의 경로: /블로그이름.github.io/_includes/custom-head.html
★ 주의사항: 코드를 그대로 붙여넣기 하면 안된다.
→경로의 설정이 중요하다.
-1) _config.yml 파일에서 base url을 설정한다.
url : https://(블로그 이름).github.io
-2) 다음과 같이 base url에서 시작하도록 경로를 수정한다.
<link rel="apple-touch-icon" sizes="180x180" href="https://sb121300.github.io/assets/logo.ico/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://sb121300.github.io/assets/logo.ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://sb121300.github.io/assets/logo.ico/favicon-16x16.png">
<link rel="manifest" href="https://sb121300.github.io/assets/logo.ico/site.webmanifest">
<link rel="mask-icon" href="https://sb121300.github.io/assets/logo.ico/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
[설정화면]
'컴퓨터이론 > Github & Jekyll' 카테고리의 다른 글
[Jekyll] Jekyll google analytics 사용하기 (0) | 2022.01.05 |
---|---|
[Jekyll] Jekyll 댓글 추가하기 (0) | 2022.01.05 |
[Jekyll] Jekyll 블로그 생성 및 테마 적용하기 (0) | 2022.01.05 |