Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

计划啥时候集成一下类似于artalk的评论功能呀~ #13

Open
supersu097 opened this issue Oct 20, 2023 · 6 comments
Open

计划啥时候集成一下类似于artalk的评论功能呀~ #13

supersu097 opened this issue Oct 20, 2023 · 6 comments

Comments

@supersu097
Copy link

如题~

@FarseaSH
Copy link
Owner

hello,现在评论功能已经开发好了,之前工作一直很忙,抽空最近会更新的。

如果还有什么意见建议,欢迎随时交流~

@supersu097
Copy link
Author

hello,现在评论功能已经开发好了,之前工作一直很忙,抽空最近会更新的。

如果还有什么意见建议,欢迎随时交流~

好滴,辛苦了~

@supersu097
Copy link
Author

啥时候提交一下代码呀,我想试一下

@FarseaSH
Copy link
Owner

FarseaSH commented Nov 8, 2023

不好意思哈,最近加班比较多,我这周末整理一下哈

@FarseaSH
Copy link
Owner

@supersu097 hello,我已经将评论的代码上传到dev分支了~想要使用的话,需要做如下的配置

1 hugo网站中 config.toml 加入一下配置项

[params]
    [params.experimental]
        comment = true

2 row.html 138 行到 142 行,对应修改评论模块的代码,这里用gitalk作为评论模块 ,具体gitalk配置方法可以参考https://github.com/gitalk/gitalk/tree/master

clientID: 'GitHub Application Client ID',
clientSecret: 'GitHub Application Client Secret',
repo: 'GitHub repo',
owner: 'GitHub repo owner',
admin: ['GitHub repo owner and collaborators, only these guys can initialize github issues'],

当然也可以按照你想用的评论模块进行替换。

如果有任何不清楚的地方,随时欢迎联系我。

@supersu097
Copy link
Author

@supersu097 hello,我已经将评论的代码上传到dev分支了~想要使用的话,需要做如下的配置

1 hugo网站中 config.toml 加入一下配置项

[params]
    [params.experimental]
        comment = true

2 row.html 138 行到 142 行,对应修改评论模块的代码,这里用gitalk作为评论模块 ,具体gitalk配置方法可以参考https://github.com/gitalk/gitalk/tree/master

clientID: 'GitHub Application Client ID',
clientSecret: 'GitHub Application Client Secret',
repo: 'GitHub repo',
owner: 'GitHub repo owner',
admin: ['GitHub repo owner and collaborators, only these guys can initialize github issues'],

当然也可以按照你想用的评论模块进行替换。

如果有任何不清楚的地方,随时欢迎联系我。

好哒,我来试一下~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants