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

这两天发现gittalk,gitment 这 些第三方app存在很大的风险,就适配了一个安全隐患小一点的utterances #583

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

txmu
Copy link
Contributor

@txmu txmu commented Nov 29, 2020

适配

@ChujieChen
Copy link
Contributor

借pr问个问题:我一开始就发现了这个隐患于是 是把自己的个性化后的主题repo设为的private的,请问hexo generate出来的static files也会含有这些信息吗?有的话应该是哈希过的?

@txmu
Copy link
Contributor Author

txmu commented Nov 30, 2020

我正在尝试适配vssue(gitlab版本)来减少隐患,不过这需要评论者也有gitlab账号,而且必须登录才能看到评论。gitee版限制太多(例如不支持表情)。github版我不知道token在哪里,其它的托管平台用的人更少。。。所以还是要用gitlab版

@txmu
Copy link
Contributor Author

txmu commented Nov 30, 2020

我也挺希望有人能把DisqusJS适配一下,方便墙内使用(话说next主题好像就有现成的代码,我去尝试借鉴一下)

@blinkfox
Copy link
Owner

@txmu 你的文件没有提交全。


<% if (theme.disqusjs && theme.disqusjs.enable) { %>
<%- partial('_partial/disqusjs/disqusjs.js') %>
<% } %>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@txmu 我没看到你有提交 vssue.ejsdisqusjs.ejs, utterances.ejs 几个文件。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

啊这,我看看

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