Post

Chirpy

Setup Ruby 오류

Image

ubuntu-latest로 되어있었는데 ubuntu 버전 24.04 업데이트로 인해 지정한 Ruby의 버전과 호환되지 않아서 발생하는 문제

Image

jekyll.yml 파일에서 ubuntu 버전 지정하여 해결


이미지 삽입 오류

Image

이미지 렌더링을 시킬 때 netlify로 우회해서 하기 때문에 이미지 삽입 시 경로가 꼬일 수 있다.

Image

_config.yml 파일에서 해당 부분을 지워준다.


페이지는 늘어나는데 모든 페이지에 전체 글이 표시되는 오류

Image

_config.yml에서 paginate : 페이지 수 설정 후

Image

Image

home.html에서 “site.posts”를 “posts”로 수정


++ 오류 생길 때마다 업데이트

This post is licensed under CC BY 4.0 by the author.