readme.md

This commit is contained in:
life
2014-05-08 17:37:46 +08:00
parent af4476a985
commit e8f213bc99
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
## Introduction ## Introduction
Leanote, it's a cloud note. You can create your own cloud note in leanote. Leanote, a cloud note. You can create your own cloud note by leanote.
## Features ## Features
* Knowledge: manage your knowledge in leanote. leanote contains tinymce editor and markdown editor, just enjoy yourself in writting. * Knowledge: manage your knowledge in leanote. leanote contains tinymce editor and markdown editor, just enjoy yourself in writting.

View File

@ -58,7 +58,8 @@ func init() {
if tags == nil || len(tags) == 0 { if tags == nil || len(tags) == 0 {
return "" return ""
} }
tagMap := map[string]string{"red": "红色", "yellow": "黄色", "blue": "蓝色", "green": "绝色"} // TODO 这里判断语言, 从语言包中拿
tagMap := map[string]string{"red": "红色", "yellow": "黄色", "blue": "蓝色", "green": "绿色"}
tagStr := "" tagStr := ""
lenTags := len(tags) lenTags := len(tags)
for i, tag := range tags { for i, tag := range tags {