Compare commits
7
Commits
version_1.0
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2dc23b8b0f | ||
|
|
64f5afb13b | ||
|
|
8aaa58bc79 | ||
|
|
a0fdd4d8e9 | ||
|
|
676b84b84d | ||
|
|
e8b438a5d1 | ||
|
|
652507e4f3 |
@@ -0,0 +1 @@
|
||||
*.html linguist-language=python
|
||||
@@ -1,4 +1,37 @@
|
||||
### 2018-07-06说明
|
||||
|
||||
之前的服务器地址140.143.205.19已经不可用,现已经更改为如下地址:
|
||||
|
||||
```
|
||||
试用地址:http://122.152.231.228:8080/
|
||||
帐号:blog_mini@163.com
|
||||
密码:blog_mini
|
||||
```
|
||||
|
||||
Blog_mini的Demo网站停了近一个月,由于6月份,几乎整个月的时间都忙于毕业的事情,也没有时间去处理,后段时间由于又给自己放了一个小假期,所以是迟迟未能解决问题,给部分想参考Demo的朋友带来不便,实在是非常抱歉!
|
||||
|
||||
现已经购买了一年的服务器时长,所以服务会一直运行下去,感谢大家的关注和支持!
|
||||
|
||||
### 2018-02-09说明
|
||||
|
||||
之前的服务器地址115.159.72.250已经不可用,现已经更改为如下地址:
|
||||
|
||||
```shell
|
||||
试用地址:140.143.205.19
|
||||
帐号:blog_mini@163.com
|
||||
密码:blog_mini
|
||||
```
|
||||
|
||||
承蒙大家喜爱,Blog_mini已经走过两年的时间了,从`star`和`fork`来看,很开心很高兴很多网友朋友能够把它作为自己入门Python和Python Web的一个小项目来进行学习,也正因为如此,一种不可言喻的责任就背负在身上,我总是担心这个小项目中可能出现的不可预知的坑会给部分初学的朋友带来很大的困难。大概从2017年开始,我就有意要整体改进和完善Blog_mini这个小项目。
|
||||
|
||||
然而过去两年作为大学阶段十分重要的两年,确实有太多的事情,因此这个计划一直耽误至今。眼看马上临近毕业,毕业设计也需要花费一定的时间和精力,所以还会继续耽误一小段时间。但不管如何,今年一定会努力争取完成这件事情。
|
||||
|
||||
计划将会从界面UI、后台管理系统、开发文档、代码注释等方面对这个小项目进行完善,这样之后,真心希望初学者都能够通过这样一个小项目来加强对Python基础技能以及其它技能的学习,达到可以使用Python进行基本开发这样的一种状态,去体验Python给自己带来的快乐。
|
||||
|
||||
---
|
||||
|
||||
# Blog_mini
|
||||
|
||||
### 1.功能强大的开源博客系统
|
||||
Blog_mini是一个开源的博客系统,用Python开发完成,具有简洁的界面和强大的后台管理,
|
||||
|
||||
@@ -33,5 +66,6 @@ Blog_mini是一个开源的博客系统,用Python开发完成,具有简洁
|
||||
如果你在部署和使用过程中有疑问,请给作者留言:
|
||||
|
||||
作者51cto博客:http://xpleaf.blog.51cto.com
|
||||
作者个人博客网站:http://www.xpleaf.com
|
||||
|
||||
作者个人博客网站:http://www.xpleaf.cn(目前不可访问)
|
||||
郑重说明:http://www.xpleaf.com这个域名已经被抢注,并且被用于发布不良内容,我将会进行举报!
|
||||
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ class User(UserMixin, db.Model):
|
||||
# url = 'https://secure.gravatar.com/avatar'
|
||||
# else:
|
||||
# url = 'http://www.gravatar.com/avatar'
|
||||
url = 'http://gravatar.duoshuo.com/avatar'
|
||||
url = 'https://gravatar.loli.net/avatar'
|
||||
hash = self.avatar_hash or hashlib.md5(
|
||||
self.email.encode('utf-8')).hexdigest()
|
||||
return '{url}/{hash}?s={size}&d={default}&r={rating}'.format(
|
||||
@@ -241,7 +241,7 @@ class Comment(db.Model):
|
||||
# url = 'https://secure.gravatar.com/avatar'
|
||||
# else:
|
||||
# url = 'http://www.gravatar.com/avatar'
|
||||
url = 'http://gravatar.duoshuo.com/avatar'
|
||||
url = 'https://gravatar.loli.net/avatar'
|
||||
hash = self.avatar_hash or hashlib.md5(
|
||||
self.author_email.encode('utf-8')).hexdigest()
|
||||
return '{url}/{hash}?s={size}&d={default}&r={rating}'.format(
|
||||
|
||||
@@ -10,7 +10,7 @@ function go_to_reply(id, author_name) {
|
||||
$('#reply-dialog-box').remove();
|
||||
$('#submit-comment-container').prepend('<div class="alert alert-info alert-dismissable" id="reply-dialog-box">' +
|
||||
'<button type="button" class="close" data-dismiss="alert" onclick="undo_reply()">×</button>' +
|
||||
'回复给<strong><i>' + author_name +'</i></strong> </div>');
|
||||
'回复给<strong><i>' + $('<div/>').text(author_name).html() +'</i></strong> </div>');
|
||||
}
|
||||
|
||||
//Reset the follow value when refresh page
|
||||
|
||||
Reference in New Issue
Block a user