๐ [GithubPages] Jekyll hydejack ๋ธ๋ก๊ทธ ์ปค์คํ - 2
in Study / ETC on #Jekyll #GithubPages
![๐ [GithubPages] Jekyll hydejack ๋ธ๋ก๊ทธ ์ปค์คํ
- 2](/assets/img/thumbnail/githubpages-thumbnail.png)
[GithubPages] Jekyll hydejack config.yml ์ปค์คํ ๋ฐฉ๋ฒ
- 1.
_config.yml
๊ธฐ๋ณธ ์ ๋ณด ์ค์ - 2.
_data/authors.yml
๊ธฐ๋ณธ ์ ๋ณด ์ค์ - 3. favicon ์ค์
- ๐ Reference
์ด๋ฒ์๋ ๋ธ๋ก๊ทธ ์ด๋ฆ, ์ค๋ช , ๋ก๊ณ , ์ ์ ์ ๋ณด ๋ฑ ์ฃผ์ ์ค์ ์ ๋ณ๊ฒฝํ๋ ๋ฐฉ๋ฒ์ ๋จ๊ณ๋ณ๋ก ์ค๋ช ํฉ๋๋ค.
1. _config.yml
๊ธฐ๋ณธ ์ ๋ณด ์ค์
_config.yml
์ค์ ๋ฐฉ๋ฒ์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค.
# file: `_config.yml`
lang: ko-KR, en-US
# The title of your blog. Used in the sidebar and the browser tab.
title: Dev Study Note
# A short description (~150 chars) of the page used for the meta description tag.
# Can use markdown, but no more than one paragraph (enforced by `>`)
description: >
๋์ Dev ๊ธฐ์ต๊ณต๊ฐ ์ ์ฅ์
# A shorter description for the sidebar.
tagline: ๋์ Dev ๊ธฐ์ต๊ณต๊ฐ ์ ์ฅ์
# A list of keywords for your blog
keywords: [java, react, coding, spring, blog, dev]
# A (square) logo for your site.
# If provided, it will be shown at the top of the sidebar.
# It also used by the `jekyll-seo-tag` plugin.
logo: /assets/img/logo.png
# This should be the same author as first entry in `_data/authors.yml`.
author:
# Used by `jekyll-feed`:
name: (username)
email: (user.email)
# # Used by `jekyll-seo-tag`:
# twitter: <username>
# Add links to the sidebar.
menu:
- title: Dev
url: /dev/
submenu:
- title: Spring
url: /spring/
- title: React
url: /react/
- title: Study
url: /study/
submenu:
- title: Algorithm
url: /algorithm/
- title: DataStructure
url: /ds/
- title: ETC
url: /etc/
- title: Documentation
url: /docs/
- title: About
url: /about/
# Add links to the footer.
# Typically you'll want to link to your cookie- or privacy policy (if appliable), etc..
legal:
- title: LICENSE
url: /LICENSE/
- title: NOTICE
url: /NOTICE/
- title: CHANGELOG
url: /CHANGELOG/
# This text will appear in a `<small>` tag in the footer of every page.
copyright: ยฉ 2025. All rights reserved.
# Format of the permalinks
permalink: /:categories/:year-:month-:day-:title/
# Pagination configuration (used by the `blog` layout)
paginate: 10
paginate_path: /:num/
# Sidebar image and theme color of the site.
accent_image: /assets/img/sidebar-bg.jpg
accent_color: rgb(79,177,186)
collections:
featured_categories:
permalink: /:name/
output: true
featured_tags:
permalink: /tag-:name/
output: true
projects:
permalink: /projects/:path/
output: true
pages:
permalink: /:name/
output: true
lang
: ์ธ์ด ์ ํdescription
: meta tag์ ์ฌ์ฉ๋จ (SEO์ฉ)title
: ๋ธ๋ก๊ทธ ํ์ดํ ์ค์ tagline
: sidebar์ ๊ฐ๋ตํ ํ์๋จkeywords
: ๊ฒ์ ์์ง ์ต์ ํ๋ฅผ ์ํ ํค์๋ ์ค์ logo
: sidebar ์๋จ์ logo ์ด๋ฏธ์ง ๊ฒฝ๋ก ์ค์ author
: ์ ์ ์ ๋ณด๋ฅผ ์ค์ menu
: sidebar ๋ฉ๋ด ์์ฑ์ ์ํด ์ฌ์ฉlegal
: ํ๋จ footer ์ ์๊ถ ์ ๋ณด ๋งํฌ ์์ฑ์ ์ํด ์ฌ์ฉcopyright
: ํ๋จ footer ์ ์๊ถ ์ ๋ณด text ์์ permalink
: ์๊ตฌ์ ์ธ url format ์ค์ ํ๋ค.pageinate
: ํ์ด์ง ๋น ๋ณด์ฌ์ฃผ๋ ํฌ์คํ ๊ฐ์๋ฅผ ์ค์ accent_image
: sidebar backgroud ์ด๋ฏธ์ง ๊ฒฝ๋ก ์ค์
์ฃผ์ ์ค์ ๊ฐ์ ๋ณ๊ฒฝํ์ฌ title
: ํ์ดํ menu
: ๋ฉ๋ด accent_image
: ๋ฐฑ๊ทธ๋ผ์ด๋ ์ด๋ฏธ์ง ๋ฑ ๋ณ๊ฒฝ๋ ๋ชจ์ต์ ๋ณผ ์ ์๋ค.
2. _data/authors.yml
๊ธฐ๋ณธ ์ ๋ณด ์ค์
# file: `_data/authors.yml`
author1:
name: ํ๊ธธ๋
email: devstudy@example.com
about: |
๐ I am a BackEnd Engineer from South Korea. <br>
๐ฅ I aim to become a BackEnd Engineer
picture:
path: /assets/img/mypic.png
srcset:
1x: /assets/img/mypic.png
2x: /assets/img/mypic.png
social:
github: yourgithub
twitter: yourtwitter
linkedin: yourname-dev
authors1
: config.yml์์ ์ค์ ํ ํ๋กํ ๋์ผํ๊ฒ ์ค์ about
: ๊ฐ ํ์ด์ง ํ๋จ์ด๋ about ๋ฉ๋ด์ ๋ด์ฉ์ ๋ณด์ฌ์ค๋ค.picture
: about์ ์ด๋ฏธ์ง ๋ณด์ฌ์ค๋ค. scrset์ device๋ง๋ค ๋ค๋ฅธ ํด์๋ ์ค์ social
: ๊ฐ ํ์ด์ง ํ๋จ sidebar์ ์์ ๋งํฌ ์ค์
๊ทธ์ธ์ ์ค์ ๊ด๋ จํด์ ์์ธํ ๋ถ๋ถ์ ๊ณต์ ๊ฐ์ด๋ ๋ฌธ์๋ฅผ ์ฐธ์กฐ ๋ฐ๋๋๋ค.
3. favicon ์ค์
๐favicon generator ๋งํฌ๋ก ๋ค์ด๊ฐ์ favicon ์ด๋ฏธ์ง ์์ฑ
docs/config.md ์ค๋ช ์ด ๋์์๋ค.
# file: `docs/config.md`
## Adding custom Favicons and App Icons
### Changing the Favicon
By default, Hydejack will use the Favicon from `/assets/icons/favicon.ico` and Apple Touch Icon from `/assets/icons/icon-192x192.png`.
You can either override these files, or override the path in the config file via `favicon` and `app_touch_icon` keys:
```yml
# file: "_config.yml"
favicon: /favicon.ico
apple_touch_icon: /assets/img/logo.png
/assets/icons/favicon.ico ๊ฒฝ๋ก์ ๋ฃ์ด์ฃผ๋ฉด ๋๋ค.
 |