Skip to content

Commit 44d0475

Browse files
committed
configure utterances to follow dark/light theme
1 parent a19590a commit 44d0475

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ toc: true
109109

110110
comments:
111111
# Global switch for the post-comment system. Keeping it empty means disabled.
112-
provider: # [disqus | utterances | giscus]
112+
provider: utterances
113113
# The provider options are as follows:
114114
disqus:
115115
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
116116
# utterances settings › https://utteranc.es/
117117
utterances:
118-
repo: # <gh-username>/<repo>
119-
issue_term: # < url | pathname | title | ...>
118+
repo: "sonjh1217/sonjh1217.github.io"
119+
issue_term: pathname
120120
# Giscus options › https://giscus.app
121121
giscus:
122122
repo: # <gh-username>/<repo>

_layouts/post.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,6 @@ <h1 data-toc-skip>{{ page.title }}</h1>
174174
{% include post-sharing.html lang=lang %}
175175

176176
</div>
177-
178-
<script src="https://utteranc.es/client.js"
179-
repo="sonjh1217/sonjh1217.github.io"
180-
issue-term="pathname"
181-
label="comments"
182-
theme="github-light"
183-
crossorigin="anonymous"
184-
async>
185-
</script>
186177
<!-- .post-tail-bottom -->
187178
</div>
188179
<!-- div.post-tail-wrapper -->

0 commit comments

Comments
 (0)