🎨 Improve push reload doc info
This commit is contained in:
parent
6a869e3544
commit
93b687a407
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ func refreshDocInfo0(tree *parse.Tree, size uint64) {
|
|||
docInfo := map[string]interface{}{
|
||||
"rootID": tree.ID,
|
||||
"name": tree.Root.IALAttr("title"),
|
||||
"alias": tree.Root.IALAttr("alias"),
|
||||
"name1": tree.Root.IALAttr("name"),
|
||||
"memo": tree.Root.IALAttr("memo"),
|
||||
"bookmark": tree.Root.IALAttr("bookmark"),
|
||||
"size": size,
|
||||
"hSize": humanize.BytesCustomCeil(size, 2),
|
||||
"mtime": mTime.Unix(),
|
||||
|
|
Loading…
Add table
Reference in a new issue