2022/05/08/Hexo-%E9%85%8D%E7%BD%AE%E8%AF%84%E8%AE%BA%E5%8A%9F%E8%83%BD/ #6
Replies: 24 comments 4 replies
-
|
你好,我想问下为什么按照你的配置不出现评论框 |
Beta Was this translation helpful? Give feedback.
-
请问使用的是相同的主题吗,不同主题的配置会有些许不一样 |
Beta Was this translation helpful? Give feedback.
-
|
butterfly |
Beta Was this translation helpful? Give feedback.
-
|
你好,请问landscape主题可以按这个配置吗😭 |
Beta Was this translation helpful? Give feedback.
-
以下是我问chatgpt的 你可以试试😁 要在 Hexo 的 Landscape 主题中使用 Utterances 实现评论功能,您可以按照以下步骤进行配置: 在 GitHub 上创建一个新的存储库,用于存储 Utterances 评论。 打开 Utterances 的官方网站(https://utteranc.es/)。 在 Utterances 网站上,按照指示进行配置。选择您刚刚创建的 GitHub 存储库作为评论存储库,并选择适合您的偏好的其他选项。您可以选择主题、颜色和其他自定义设置。 在 Utterances 网站上生成配置代码后,将其复制到剪贴板。 在 Hexo 的根目录下,找到主题目录(themes/landscape/)。 在主题目录下,找到 layout/_partial/article.ejs 文件,打开它进行编辑。 在 article.ejs 文件中找到适当的位置(通常是文章正文的下方),将配置代码粘贴到该位置。例如: 将 your_github_username/your_repository_name 替换为您在步骤 1 中创建的 GitHub 存储库的用户名和存储库名称。 保存并关闭 article.ejs 文件。 现在您可以重新生成 Hexo 的静态文件,并部署您的博客。使用以下命令重新生成静态文件: Copy code 现在您的 Hexo Landscape 主题应该已经配置了 Utterances 评论功能。请确保在 GitHub 存储库中配置了适当的评论设置,并确保在博客页面上正确显示评论框。 |
Beta Was this translation helpful? Give feedback.
-
|
我用gitee搭建的博客,hexo fuild主题,也可以引入github的评论吗? |
Beta Was this translation helpful? Give feedback.
-
可以的 |
Beta Was this translation helpful? Give feedback.
-
那太好了,有博客说明吗?教程指导👀。GitHub太慢了,我就部署在gitee了。但是没接入评论系统。我想接入GitHub的discussion |
Beta Was this translation helpful? Give feedback.
-
去谷歌搜索你用的主题+utterances就好了,应该有很多文章了,我这篇文章是fuild主题的关于utterances的配置的 |
Beta Was this translation helpful? Give feedback.
-
你用的什么主题? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
如果你要用utterances 那你按着我这个文档配置不就可以了吗 |
Beta Was this translation helpful? Give feedback.
-
utterances接入的评论系统是GitHub的issue。我想接入giscus 是GitHub的Discussion |
Beta Was this translation helpful? Give feedback.
-
fluid支持giscus, https://fluid-dev.github.io/hexo-fluid-docs/guide/#%E8%AF%84%E8%AE%BA |
Beta Was this translation helpful? Give feedback.
-
试一下以下配置 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
晚点我也把utterances改成giscus试试 再跟你说结论 哈哈哈哈 |
Beta Was this translation helpful? Give feedback.
-
哈哈哈哈哈,good👍 |
Beta Was this translation helpful? Give feedback.
-
没那么快出哦 要上班😵💫 |
Beta Was this translation helpful? Give feedback.
-
真羡慕你,还是有班上 |
Beta Was this translation helpful? Give feedback.
-
|
呜呜,照着这样做还是显示不出来插件 |
Beta Was this translation helpful? Give feedback.
-
|
hello |
Beta Was this translation helpful? Give feedback.
-
|
fluid按步骤来了,没反应,valine,waline,还有这个都试了。就是没反应,请问博主可能有什么问题 |
Beta Was this translation helpful? Give feedback.
-
|
fluid根配置文件里面没配置好吗?
在 2024-11-25 17:16:03,comkeps ***@***.***> 写道:
fluid按步骤来了,没反应,valine,waline,还有这个都试了。就是没反应,请问博主可能有什么问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hexo 配置评论功能 - Blog|CasonMo
注意:本文以Fluid主题当示例来介绍如何配置评论,其他主题请根据对应用户手册配置 我是用的主题Fluid支持多种评论插件,utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis,每种插件有不同的配置方法,为了和评论用户有真实反馈、长久的交互和尽可能简单配置
https://casonmo.github.io/2022/05/08/Hexo-%E9%85%8D%E7%BD%AE%E8%AF%84%E8%AE%BA%E5%8A%9F%E8%83%BD/
Beta Was this translation helpful? Give feedback.
All reactions