๐Ÿ“˜ [GithubPages] Jekyll hydejack ๋ธ”๋กœ๊ทธ ์ปค์Šคํ…€ - 2

๐Ÿ“˜ [GithubPages] Jekyll hydejack ๋ธ”๋กœ๊ทธ ์ปค์Šคํ…€ - 2

[GithubPages] Jekyll hydejack config.yml ์ปค์Šคํ…€ ๋ฐฉ๋ฒ•


์ด๋ฒˆ์—๋Š” ๋ธ”๋กœ๊ทธ ์ด๋ฆ„, ์„ค๋ช…, ๋กœ๊ณ , ์ €์ž ์ •๋ณด ๋“ฑ ์ฃผ์š” ์„ค์ •์„ ๋ณ€๊ฒฝํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹จ๊ณ„๋ณ„๋กœ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.

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 ๊ฒฝ๋กœ์— ๋„ฃ์–ด์ฃผ๋ฉด ๋œ๋‹ค.

![224x36](https://i.imgur.com/rKxXeth.png)

๐Ÿ“‘ Reference



Pagination


ยฉ 2025. All rights reserved.

Powered by Hydejack v9.2.1