1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 23:29:42 +02:00

set pageMeta.config

This commit is contained in:
Harvey Kandola 2016-12-04 18:27:22 -08:00
parent 3b3785ba24
commit f1ba45f203
4 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@ The mission is to bring software dev inspired features (refactoring, testing, li
## Latest version ## Latest version
v0.36.0 v0.37.0
## OS Support ## OS Support

View file

@ -1,6 +1,6 @@
{ {
"name": "documize", "name": "documize",
"version": "0.36.0", "version": "0.37.0",
"description": "The Document IDE", "description": "The Document IDE",
"private": true, "private": true,
"repository": "", "repository": "",

View file

@ -185,6 +185,7 @@ func processDocument(p request.Persister, filename, job, folderID string, fileRe
meta := entity.PageMeta{} meta := entity.PageMeta{}
meta.PageID = pageID meta.PageID = pageID
meta.RawBody = page.Body meta.RawBody = page.Body
meta.Config = "{}"
model := models.PageModel{} model := models.PageModel{}
model.Page = page model.Page = page

View file

@ -26,7 +26,7 @@ type ProdInfo struct {
// Product returns product edition details // Product returns product edition details
func Product() (p ProdInfo) { func Product() (p ProdInfo) {
p.Major = "0" p.Major = "0"
p.Minor = "36" p.Minor = "37"
p.Patch = "0" p.Patch = "0"
p.Version = fmt.Sprintf("%s.%s.%s", p.Major, p.Minor, p.Patch) p.Version = fmt.Sprintf("%s.%s.%s", p.Major, p.Minor, p.Patch)
p.Edition = "Community" p.Edition = "Community"