fix unuse tag <!--more-->

intercept errors
This commit is contained in:
deepzz0
2017-07-15 13:46:29 +08:00
parent f150974566
commit 27162d2205
2 changed files with 6 additions and 6 deletions

4
db.go
View File

@@ -221,8 +221,8 @@ func generateTopic() {
Author: setting.Conf.Account.Username,
Title: "友情链接",
Slug: "blogroll",
UpdateTime: time.Now(),
CreateTime: time.Time{},
CreateTime: time.Now(),
UpdateTime: time.Time{},
}
err := db.Insert(DB, COLLECTION_ARTICLE, blogroll)
if err != nil {