Step 1

disqus 가입 https://disqus.com/

2019-10-05-github-jekyll-disqus-01.png

Step 2

I want to install Disqus on my site 선택

2019-10-05-github-jekyll-disqus-02.png

Step 3

website 이름 입력

2019-10-05-github-jekyll-disqus-03.png

Step 4

무료 요금제인 Basic 선택

2019-10-05-github-jekyll-disqus-04.png

Step 5

Jekyll 플랫폼 선택

2019-10-05-github-jekyll-disqus-05.png

Step 6

Universal Embeded Code 클릭

2019-10-05-github-jekyll-disqus-06.png

Step 7

본인의 Github 블로그에 /_includes/disqus_comments.html 파일 생성 후 1번 항목에 있는 내용 붙여넣기

2019-10-05-github-jekyll-disqus-07.png

Step 8

Step 7에서 생성한 /_includes/disqus_comments.html 파일의 내용 수정

...
...
<script>
	var disqus_config = function () {
		this.page.url = '{{ page.url | absolute_url }}';
      	this.page.identifier = '{{ page.url | absolute_url }}';
    };    
...
...
...

Note: 원본 내용에서는 var disqus_config = function () 부분이 주석 처리 되어 있으나 주석을 해제하고 함수 내용 변경

Step 9

본인의 Github 블로그의 /_config.yml 파일을 확인하여 url 값이 설정되어 있는지 확인. 만약 설정되어 있지 않다면 본인의 블로그 주소로 설정할 것.

# --- Local development options ---
# If your website is hosted locally rather than on GitHub, then you need to uncomment the next two parameters to set the url and baseurl
# *** If you're not sure what this mean, then leave this section as it is. Only modify the url and baseurl if you know what you're doing!***

# url is the the website domain URL without a trailing slash
url: "https://stynxh.github.io"
---

Step 10

/_layouts/post.html 파일 수정

---
layout: base
comments: true
---
...
...
...
    {% if page.comments != false %}
	    {% include disqus_comments.html %}
    {% endif %}  

Note 1: 상단에 comments: true 추가
Note 2: 하단에 코드 추가

Step 11

disqus 페이지에서 Configure 클릭

2019-10-05-github-jekyll-disqus-08.png

Step 12

website name 및 URL 입력 후 Complete Setup 클릭

2019-10-05-github-jekyll-disqus-09.png

2019-10-05-github-jekyll-disqus-10.png

Step 13

disqus 가입시 입력한 이메일 주소로 전송된 disqus 메일 verify

2019-10-05-github-jekyll-disqus-11.png

결과

2019-10-05-github-jekyll-disqus-12.png