How to add comments block with utterances? (Solved It) #3297
Answered
by
0417taehyun
0417taehyun
asked this question in
Q&A
-
I already red Adding a comment system. I want to customize it utterance. The utterance codes are like <script src="https://utteranc.es/client.js"
repo="0417taehyun/blog"
issue-term="pathname"
label="comments"
theme="dark-blue"
crossorigin="anonymous"
async>
</script> how I customized it? |
Beta Was this translation helpful? Give feedback.
Answered by
0417taehyun
Dec 4, 2021
Replies: 1 comment
-
I solved it. I'm confused because it doesn't show any page contents. Now I realized to show contents with syntax <!-- overrides/partials/content.html -->
{{ page.content }}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7400981351083358"
crossorigin="anonymous"></script>
<h2 id="__comments"></h2>
<div id="utteranc-thread"></div>
<script src="https://utteranc.es/client.js"
repo="0417taehyun/blog"
issue-term="pathname"
label="comments"
theme="dark-blue"
crossorigin="anonymous"
async>
</script> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0417taehyun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I solved it. I'm confused because it doesn't show any page contents. Now I realized to show contents with syntax
{{ page.content }}
😂