roife / roife.github.io

My blog
10 stars 2 forks source link

posts/use-utterances-for-blog-comment/ #3

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

使用 Utterances 作为静态博客的评论插件 - roife 的博客 | ROIFE BLOG

roife 的魔法科见闻

https://roife.github.io/posts/use-utterances-for-blog-comment/

BUAADreamer commented 3 years ago

问一个特别蠢的问题,那个html具体是插在哪呢

roife commented 3 years ago

问一个特别蠢的问题,那个html具体是插在哪呢

直接插入到对应的 post 文件中

BUAADreamer commented 3 years ago

感谢roife了,我用的是hexo的ocean theme,这个主题是在themes\ocean\layout_partial下的article.ejs里插入那段js代码即可,其他的应该也差不多

BUAADreamer commented 3 years ago

另外这个的确太好用了,比起gitalk好配置多了

BulletTech2021 commented 3 years ago

test

yayalor commented 2 years ago

先说cool

Nullkooland commented 2 years ago

你好,请问你博客里 utterances 的方角是怎么自定义的呢,是自己改的 css 样式吗?

roife commented 2 years ago

你好,请问你博客里 utterances 的方角是怎么自定义的呢,是自己改的 css 样式吗?

@Goose-Bomb 引入 utterances 的时候设置 theme 即可:theme="boxy-light"。见我的博客源码中的 _includes/comments.html 文件

Nullkooland commented 2 years ago

你好,请问你博客里 utterances 的方角是怎么自定义的呢,是自己改的 css 样式吗?

@Goose-Bomb 引入 utterances 的时候设置 theme 即可:theme="boxy-light"。见我的博客源码中的 _includes/comments.html 文件

谢谢了,不过可惜没办法自动检测 dark/light 主题。

roife commented 2 years ago

谢谢了,不过可惜没办法自动检测 dark/light 主题。

可以考虑自己写一个脚本判断加载哪一套?

Howerrr commented 2 years ago

用上了 感谢!

aforian commented 2 years ago

话是这么说,真的会有人来我的博客写评论吗

這就來寫評論了

ykuo2 commented 2 years ago

thanks!!

Jiewyjson commented 1 year ago

666

sssdbk commented 1 year ago

用上了!非常感谢

AllenWu233 commented 1 year ago

博客系统换了一款又一款,但是到现在几乎一条评论都没有

现在挺多的( 顺便问一下,想回复某条评论只能复制粘贴作为引用吗?

roife commented 1 year ago

~博客系统换了一款又一款,但是到现在几乎一条评论都没有~

现在挺多的( 顺便问一下,想回复某条评论只能复制粘贴作为引用吗?

@AllenWu233 其实本质上这是利用了 GitHub 的 ISSUE 功能来评论,所以我一般直接在 GitHub 里面回复了

code33 commented 1 year ago

有这个就再也不在乎墙内的沙雕审查了

HaiyanKong commented 1 year ago

test

Y0n3er commented 1 year ago

能说一下butterfly主题那个HTML文件该放在哪里,我看别的文章都没有提这个,但是我没弄这个一直都不成功

roife commented 1 year ago

能说一下butterfly主题那个HTML文件该放在哪里,我看别的文章都没有提这个,但是我没弄这个一直都不成功

应该没有这个步骤,按照上面说的配好 GitHub APP,然后直接在博客里插入那段代码就好了

Y0n3er commented 1 year ago

GitHub那里是配置好了的,但是下面那里生成的代码不知道放哪

1793739585 @.***

 

------------------ 原始邮件 ------------------ 发件人: "roife/roife.github.io" @.>; 发送时间: 2023年2月28日(星期二) 中午11:44 @.>; @.**@.>; 主题: Re: [roife/roife.github.io] 2021/02/12/use-utterances-for-comment/ (#3)

能说一下butterfly主题那个HTML文件该放在哪里,我看别的文章都没有提这个,但是我没弄这个一直都不成功

应该没有这个步骤,按照上面说的配好 GitHub APP,然后直接在博客里插入那段代码就好了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Y0n3er commented 1 year ago

离谱,从邮件回复成这样了

roife commented 1 year ago

离谱,从邮件回复成这样了

放在你想要插入评论的地方

jayli commented 1 year ago

test

jiaoyueLIB commented 5 months ago

来了来了 来评论了!!!

Yeadon8888 commented 2 months ago

有没有无需登录的评论插件

iWhite-Rabbit commented 1 month ago

very useful

DriOgon commented 3 weeks ago

感谢