jekyll-TeXt-theme github io 설치

이태혁·2021년 2월 7일
0

jekyll-TeXt-theme로 설치하기로함

jekyll-TeXt-theme 깃헙
jekyll-TeXt-theme manual

taelee42로 깃헙 포크함

taelee42.github.io

공식문서에 나온 도커 환경 설치로 했었는데 설치가 제대로 되지 않는다. 아마 환경을 제대로 업데이트 하지 않은거 같다. 이게 그냥 일반 linux를 기반으로 한 도커이면 직접 오류를 찾아서 수정해보려고 했지만 ruby:2.6기반으로 만든 이미지여서 도저히 수정할 엄두가 안났다.
따라서 로컬환경에 설치하는쪽으로 방향을 틀었다.

jekyll까는 방법 (공식문서), TeXt-theme에 Installing Development Environment에 링크되어 있다.
https://jekyllrb.com/docs/installation/

bundler에서 문제가 생겼다.
bundle install --path vendor/bundle

아래 링크에서 힌트를 얻어서 해결했다.

텍스트 테마에서 gemfile관련 에러뜨는 부분 해결 방법
https://unrloay2.home.blog/2019/07/31/jekyll-text-theme-%EC%84%A4%EC%B9%98-%EA%B0%80%EC%9D%B4%EB%93%9C/

gem list bundler를 사용해서 나온 결과중 default에 나온 버전을
Gemfile.lock파일 맨밑에 나온 버전에 입력해주었더니 해결되었다.

TeXt-theme ymal파일 설명
https://syki66.github.io/blog/2020/04/16/TeXt-theme-config.html

disqus설치

이거 보고 따라함
https://syki66.github.io/blog/2020/02/18/jekyll-add-disqus.html

근데 post.html이 없어서 article.html에 아래 코드 추가함

<div id="post-disqus" class="container">
  {% include disqus.html %}
</div>

마지막으로 _config.yaml파일에서

comments:
  provider: disqus
  disqus:
    shortname: "your-disqus-shortname"

여기 수정해주기

jeykyll 통계로 검색해서 나온 사이트
https://khbrst.github.io/dev/start-github-pages-blog/

profile
back-end, cloud, docker, web의 관심이 있는 예비개발자입니다.

0개의 댓글