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

有没有考虑增加Valine评论系统 #95

Closed
whf5566 opened this issue Sep 5, 2018 · 5 comments
Closed

有没有考虑增加Valine评论系统 #95

whf5566 opened this issue Sep 5, 2018 · 5 comments

Comments

@whf5566
Copy link

whf5566 commented Sep 5, 2018

有没有考虑增加Valine评论系统

@olOwOlo
Copy link
Owner

olOwOlo commented Sep 7, 2018

不考虑, 欢迎 pr 到 next 分支

@okooo5km
Copy link

okooo5km commented Oct 20, 2018

@whf5566 我自己加上并使用了 valine,写了一个文章hugo博客添加评论系统Valine

@whf5566
Copy link
Author

whf5566 commented Oct 22, 2018

@smslit
给olOwOlo提交个PR,把valine添加到下个版本中?

@okooo5km
Copy link

@whf5566 不知道为啥不能 fork这个项目,很奇怪!更改比较简单(只是在layouts/partials/comments.html中添加了valine相关内容 ),那索性直接给你我修改后的主题文件吧,点我下载,是在 master 分支 3.2.0 版本的基础上添加的 valine,直接参考 exampleSite/config.toml 中第120~131行进行配置,只需更改你自己的 appIdappKey 即可,在这里也贴出 valine 的配置内容吧:

# Valine.
# You can get your appid and appkey from https://leancloud.cn
# more info please open https://valine.js.org
[params.valine]
    enable = true
    appId = ''
    appKey = ''
    notify = false  # mail notifier , https://github.com/xCss/Valine/wiki
    verify = false # Verification code
    avatar = '' 
    placeholder = '说点什么吧...'
    visitor = true

@whf5566
Copy link
Author

whf5566 commented Oct 24, 2018

@smslit 非常感谢

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

3 participants