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

注册了,但不能评论 #1

Open
moling3650 opened this issue Aug 8, 2016 · 3 comments
Open

注册了,但不能评论 #1

moling3650 opened this issue Aug 8, 2016 · 3 comments

Comments

@moling3650
Copy link

moling3650 commented Aug 8, 2016

如果你想重构博客的话,可以互相研究参考。这是我的博客代码,重构得比较彻底,前后端解耦分离,用了双模板(bootstrap和uikit),js和html解耦,一个api或一个js对应两个甚至多个html文件。vue.js升级到1.0.24,准备升级2.0,支持智能markdowm代码高亮,评论区和管理页面的ajax实现...

@qqj1228
Copy link
Owner

qqj1228 commented Aug 8, 2016

我的博客现在用的是Disqus评论系统,评论的话需要在文章下方的评论区用Disqus账号登陆。
配置文件中可以设置使用本地评论还是Disqus。目前网站用的是Disqus。
网站的注册功能,在现阶段没什么用了,注册了用户也无法评论,也进不了后台管理页面,只有管理员可以进入。
设置管理员的话目前只能直接修改网站数据库。
下一步考虑加入Disqus一键登录功能,网站和Disqus评论区二者只要登陆其一就可以了。

@qqj1228
Copy link
Owner

qqj1228 commented Aug 8, 2016

你的网站做的也不错,但是我前端JS代码不行,写的很累,所以只是简单实现。
后面一步一步再慢慢完善网站功能。

@moling3650
Copy link
Author

我两个月前也是完全不懂js,最先学的不是原生的javascript,也不是jquery,而是vue.js,和别人完成是反而来的。发现你的博客的导航没有实现吸附,你可以参照我的实现,最重要的代码在uk-base.html,其他只是添加uk的扩展文件而已

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