Use Utterances/Giscus for Jekyll Comments System

Use Utterances/Giscus for Jekyll Comments System

Disqus is used as default comments plugin for the Hydejack and most of the static site. But I had some issues with Disqus, so I looked elsewhere to find new comments plugin.

  1. Disqus loads slowly.
  2. link within comment is broken.
    The most important reason I chose to move on. Disqus automatically adds prefix starting with disq.us/url?, the problem is…. disq.us is not responding so the link gets lost.

Utterances uses github issues to save & display comments. So you have to give proper permission to the github-bot. But once you set things up correctly, it works very smoothly and fast. Only downside I’ve encountered so far is that it requires user to login to the github in order to write comments, and there is no default reply function. (All though you can mimic reply using > & @…)

Giscus is almost identical to the Utterances except that it uses github discussion insteand of issues.
I have once again migrated to giscus from utterances. It seems ‘discussions’ is more appropriate than ‘issues’ to place comments.

Creating Tag List Page

Creating Tag List Page

Since many tags are not listed on the sidebar, I’ve always wanted to have a page where I can see all categories & tags I’ve used for the posts. And visitor may click on it to navigate related posts. To implement tag list, you only need to create two files to have a such page.

깃헙 페이지 리눅스(우분투) 개발 환경 세팅하기

깃헙 페이지 리눅스(우분투) 개발 환경 세팅하기

깃헙 페이지 로컬 빌드를 위해 사용되는 jekyll과 bundler 설치를 위해 ruby gem이 사용됩니다. 문제는 기본으로 깔려있는 시스템 ruby를 사용하게 될 경우 다음과 같은 권한 문제로 에러가 출력됩니다.

$gem install bundler

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /var/lib/gems/2.3.0 directory.

시스템 ruby는 /var/lib/gems 폴더 내에 gem install을 실행하려 하는데 기본적으로 해당 폴더 쓰기 권한이 유저에게 없기 때문에 rbenv를 통해 ruby를 다시 설치하는 과정이 필요합니다.

Pagination


© 2021. All rights reserved.