
























Bear does not have native comments. There are a few reasons for this:
With that being said, there are some reasons people want comments on their blogs:
Go sign up for Cusdis (Komments is also a goodie), which is an open-source and privacy respecting alternative to Disqus. Add your blog and get the Embedded code at the top of the dashboard.
Note: Embedding comments requires JS execution, which means this is only available on upgraded blogs.
You can add comments to a post or page by adding the code to your page. Replace the following:
{{ PAGE_ID }} with {{ post_link }}{{ PAGE_URL }} with {{ post_link }}{{ PAGE_TITLE }} with {{ post_title }}Here's what your code should look like (with your own data-app-id, of course):
<div id="cusdis_thread"
data-host="https://cusdis.com"
data-app-id="xxx"
data-page-id="{{ post_link }}"
data-page-url="{{ post_link }}"
data-page-title="{{ post_title }}"
></div>
<script async defer src="https://cusdis.com/js/cusdis.es.js"></script>
If you would like the comments to appear on every post and page, you can add that code to your Post template so that your post is pre-populated with it.
Here's an example comment system in action:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。