20.03.24 (ํ™”)

Updated:

์˜ค๋Š˜ ํ•  ์ผ (๊ณ„ํš)

  • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค 2์ฃผ์ฐจ ๋“ฃ๊ธฐ
  • Jekyll ์ด์–ด์„œ ๊ณต๋ถ€ํ•˜๊ธฐ

์˜ค๋Š˜ ํ•œ ์ผ

  • ์„œ๋ฒ„์— ์˜ฌ๋ฆฌ๊ธฐ ์ „์— ๋กœ์ปฌ์„œ๋ฒ„์—์„œ ๋ฏธ๋ฆฌ ํ™•์ธ ํ›„ ์˜ฌ๋ฆฌ์ž

    ๋กœ์ปฌ์„œ๋ฒ„ OPEN ๋ช…๋ น : bundle exec jekyll serve

  • _config.yml ํŒŒ์ผ์—์„œ ์—ฌ๋ฐฑ์€ ๋งค์šฐ ์ค‘์š”ํ•˜๋‹ค..
    # Site Author
    author:
      name             : "KIBOK"
      avatar           : "/assets/images/bio-photo.png" # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
      bio              : "BLOG ์„ค๋ช…์€ **๋‚˜์ค‘์—**"
      location         : "SeongNam, Korea"
      email            :
      links:
      - label: "Email"
        icon: "fas fa-fw fa-envelope-square"
        url: mailto:nkb7714@naver.com
    

    Site Author์„ ์„ค์ •ํ•˜๋˜ ์ค‘์— ๋ฉ”์ผ์„ ์•„๋ฌด๋ฆฌ ์จ ๋„ฃ์–ด๋„

    did not find expected key while parsing a block mapping at line 102 column 5

    ์ด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

    102๋ฒˆ์งธ ์ค„์ด๋ผ๋ฉด ๋ฉ”์ผ url์„ ์ž…๋ ฅํ•˜๋Š” ๋ถ€๋ถ„์ด๋‹ค.

    minimal mistakes ๊ฐ€์ด๋“œ๋ฅผ ๋ณด๊ณ  ๋˜‘๊ฐ™์ด ์ž‘์„ฑ ํ–ˆ๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ ๊ฒƒ ์ด๋‹ค

    ํ•˜์ง€๋งŒ ๋งˆ์Œ ์†์— ์ƒˆ๊ธฐ๊ณ  ์žˆ์–ด์•ผ ํ•  ๋ฌธ์žฅ์ด ์žˆ๋‹ค.

    ์ปดํ“จํ„ฐ๋Š” ๊ฑฐ์ง“๋ง์„ ํ•˜์ง€ ์•Š๋Š”๋‹คโ€ฆ

    # Site Author
    author:
      name             : "KIBOK"
      avatar           : "/assets/images/bio-photo.png" # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
      bio              : "BLOG ์„ค๋ช…์€ **๋‚˜์ค‘์—**"
      location         : "SeongNam, Korea"
      email            :
      links:
      - label: "Email"
         icon: "fas fa-fw fa-envelope-square"
          url: mailto:nkb7714@naver.com
    

    ์ฝ”๋“œ๊ฐ€ ๋ฌด์—‡์ธ๊ฐ€ ๋ฐ”๋€Œ์—ˆ๋‹ค. ๋ฌด์—‡์ด ๋ฐ”๋€๊ฑธ๊นŒ ?

    ๊ฐ„๋‹จํžˆ ๋งํ•˜์ž๋ฉด ์ฒ˜์Œ์€ links ๋ฐ‘ label, icon, url ๋ถ€๋ถ„์ด ์ขŒ์ธก ์ •๋ ฌ ๋Š๋‚Œ

    ๋‚˜์ค‘์€ label, icon, url ๋ถ€๋ถ„์ด ์šฐ์ธก์ •๋ ฌ ๋Š๋‚Œ์ด๋‹ค.

    ์ด ์ฐจ์ด๋กœ ์ธํ•ด parsing ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ ๊ฒƒ์ด๋‹ค.

    ๋‚ด ๋งˆ์Œ๋Œ€๋กœ ์ฝ”๋“œ๋ฅผ ์˜ˆ๋ป๋ณด์ด๊ฒŒ ๋ฐ”๊พธ์ง€ ๋ง์žโ€ฆ

  • Disqus ๋Œ“๊ธ€ ์„œ๋น„์Šค ๋“ฑ๋ก

    [How To] Jekyll Blog์— Disqus ์ ์šฉํ•˜๊ธฐ

  • ๊ตฌ๊ธ€ ์• ๋„๋ฆฌํ‹ฑ์Šค, ๊ฒ€์ƒ‰์—”์ง„ ๋“ฑ๋ก

    ๋‚˜์ค‘์— ๊ฐœ๋ณ„ ๊ฒŒ์‹œ๋ฌผ ์ž‘์„ฑ ์˜ˆ์ •

  • post font-family ๋ณ€๊ฒฝ

    ํฐํŠธ๋Š” assests/css/main.scss ์—์„œ ์›นํฐํŠธ ๋“ฑ๋ก ํ›„ _sass/minimal-mistakes/ _variablesscss ์—์„œ ๋ณ€๊ฒฝํ•˜์ž

    ๋‚˜์ค‘์— ๊ฐœ๋ณ„ ๊ฒŒ์‹œ๋ฌผ ์ž‘์„ฑ ์˜ˆ์ •

  • post width ์ฆ๊ฐ€

    minimal-mistakes ์Šคํ‚จ์ด ์ฒ˜์Œ์—๋Š” post width๊ฐ€ ๊ต‰์žฅํžˆ ์ข๋‹ค.

    _config.yml file์—์„œ 9๋ฒˆ์งธ ์ค„๋งŒ ์ถ”๊ฐ€ํ•˜๋ฉด ๋„“์–ด์ง„ post width๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.

    # Defaults
    defaults:
      # _posts
      - scope:
          path: ""
          type: posts
        values:
          layout: single
          classes: wide # ์ด ๋ถ€๋ถ„ ์‚ฝ์ž…
          author_profile: true
          read_time: true
          comments: true # ๋ธ”๋กœ๊ทธ ๋Œ“๊ธ€ ๊ธฐ๋Šฅ true
          share: true
          related: true
    
  • post font-size ์ฆ๊ฐ€

    _sass/minimal-mistakes/ _reset.scss ์—์„œ ๋ณ€๊ฒฝ ํ•  ์ˆ˜ ์žˆ๋‹ค.

    ์Šคํ‚จ ์ œ์ž‘์ž๊ฐ€ screen size์— ๋”ฐ๋ผ ํฐํŠธ ํฌ๊ธฐ๋ฅผ ๋ฐ”๊ฟ”๋†“์•„์„œ ๋‚˜๋Š” ์ „๋ถ€ 16.5px๋กœ ํ†ต์ผํ–ˆ๋‹ค.

    ๋‚˜์ค‘์— ๊ฐœ๋ณ„ ๊ฒŒ์‹œ๋ฌผ ์ž‘์„ฑ ์˜ˆ์ •

  • ๊ธฐํƒ€ ์„œ์‹ ๋ณ€๊ฒฝ

    ์ด ๋ธ”๋กœ๊ทธ ๋•๋ถ„์— Jekyll๋กœ ๋ธ”๋กœ๊ทธ ๋งŒ๋“ค๊ธฐ ๋“ฑ ์—ฌ๋Ÿฌ๊ฐ€์ง€๋ฅผ ์•„์ฃผ ๋งŽ์ด ์ตํ˜”๋‹ค ๊ฐ•์ถ”

  • Database 2์ฃผ์ฐจ ์ˆ˜๊ฐ•

    1, 2์ฃผ์ฐจ ๊ฐ•์˜์ค‘ ๊ฐ€์žฅ ์ค‘์š”ํ•œ ๋‚ด์šฉ์„ ๋ฝ‘์•„๋ณด์ž๋ฉด

    • ํŠœํ”Œ = ํ–‰(row) ์†์„ฑ = ์—ด(column)
    • ์†์„ฑ๊ณผ ํˆฌํ”Œ์˜ ์„ฑ์งˆ cf) ์ด๊ฑฐ๋Š” ppt ์ฝ์–ด๋ณด๋ฉด ๋‹ค ๋‹น์—ฐํ•œ ์ด์•ผ๊ธฐ๋“ค
    • ๋…ผ๋ฆฌ์  ๋ฐ์ดํ„ฐ ๋…๋ฆฝ์„ฑ, ๋ฌผ๋ฆฌ์  ๋ฐ์ดํ„ฐ ๋…๋ฆฝ์„ฑ
    • KEY ์Šˆํผํ‚ค, ๊ธฐ๋ณธํ‚ค, ์™ธ๋ž˜ํ‚ค ์ •๋„ ๊ธฐ๋ณธํ‚ค๊ฐ€ 1๋“ฑ ์ค‘์š”!! ์™ธ๋ž˜ํ‚ค๊ฐ€ 2๋“ฑ ์ค‘์š”!!

๋‚ด์ผ ํ•  ์ผ

  • ์•Œ๊ธฐ์‰ฌ์šด์ฝ”๋”ฉ 4์ฃผ์ฐจ ํ›„๊ธฐ ์ž‘์„ฑ
  • ๋Œ€ํ•™์ƒ์„์œ„ํ•œ์‹ค์šฉ๊ธˆ์œต 2์ฃผ์ฐจ ๋“ฃ๊ธฐ
  • github page post ์ž‘์„ฑ

Leave a comment