1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

switch between docs and wiki layout

Closes #60
This commit is contained in:
Harvey Kandola 2016-11-20 19:55:52 -08:00
parent 0819e04c03
commit 7e14651998
18 changed files with 704 additions and 620 deletions

View file

@ -38,6 +38,7 @@ func ConvertFileResult(filename string, fileResult *api.DocumentConversionRespon
document.LabelID = ""
document.Job = ""
document.Location = filename
if fileResult != nil {
if len(fileResult.Pages) > 0 {
document.Title = fileResult.Pages[0].Title