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

添加 gitalk 评论和 disqus 懒加载;添加文章目录导航 #11

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

ehlxr
Copy link

@ehlxr ehlxr commented Oct 11, 2018

添加 gitalk 评论和 disqus 懒加载;添加文章目录导航 。参考: demo

配置信息如下:

comment = true            # 是否开启评论
toc = true                # 是否开启目录
autoCollapseToc = true   # Auto expand and collapse toc

# Gitalk 评论配置(gitalk 请参考:https://github.com/gitalk/gitalk)
[params.gitalk] 
    owner = "xxx"              # Your GitHub ID
    admin = "xxx"      # GitHub repository owner and collaborators
    repo = "xxxx"               # The repo to store comments
    clientId = "xxx"           # Your client ID
    clientSecret = "x"       # Your client secret
    countSign = "条评论"

# disqus 评论配置
[params.disqus]
    name = "xxx"      # disqus_shortname
    lazy = true         # lazy to load disqus

@zeech3
Copy link

zeech3 commented Oct 12, 2018

这个功能很赞

@FrankFang
Copy link

可以 merge 吗?

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

Successfully merging this pull request may close these issues.

3 participants