weixin_39517520
weixin_39517520
2021-01-09 07:47

404 error occur when I click utterance comment button

I want to set utterence on my blog

I did three things like below

1.themes/tranquilpeak/layout/_partial/post/utterances.ejs


<script src="https://utteranc.es/client.js" repo="{userid}/blog-comments" issue-term="title" theme="github-light" crossorigin="anonymous" async>
</script>
  1. themes/tranquilpeak/_config.yml

# ---------------
# Comment systems
# ---------------
...
utterances:
    enable: true
...
  1. themes/tranquilpeak/layout/_partial/post.ejs

<article class="post">
    ...
    
        ...
        
            
        
    
...
</article>

Aftert that, I can see the the utterence comment layout, but when I clicked the comment button, 404 error occurred https://hanseul-lee.github.io/ here is my blog link

I don't know how to solve this. So could you please help me?

该提问来源于开源项目:utterance/utterances

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39621819 weixin_39621819 4月前

    It seems to de-capitalize links.

    点赞 评论 复制链接分享
  • weixin_39517520 weixin_39517520 4月前

    -LLK Counld you tell me more specifically? I don't know where to de-capitalize

    点赞 评论 复制链接分享
  • weixin_39621819 weixin_39621819 4月前

    Sorry, what I meant is that when utterances redirects, the link has been decapitalized. The blog 404s because the link is wrong, it's not capitalized.

    点赞 评论 复制链接分享
  • weixin_39517520 weixin_39517520 4月前

    -LLK Then how can i figure it out about ? Am i doing somthing wrong when changing the code like above..?

    点赞 评论 复制链接分享

相关推荐