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

Move attachments into meta zone

This commit is contained in:
McMatts 2018-05-30 11:27:29 +01:00
parent c5561491a2
commit c7cc36b307
12 changed files with 77 additions and 80 deletions

View file

@ -68,6 +68,12 @@ func Numberize(pages []Page) {
}
pages[i].Numbering = numbering
// Troubleshooting help
if len(numbering) == 0 {
fmt.Printf("No number allocated to page %s ('%s')",
pages[i].RefID, pages[i].Title)
}
// update state
prevPageLevel = p.Level
}