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

document.layout, print.css, content-linker

This commit is contained in:
Harvey Kandola 2017-03-07 20:25:13 +00:00
parent f24eb5ad42
commit 0539bb332a
10 changed files with 38 additions and 51 deletions

View file

@ -153,7 +153,6 @@ type Document struct {
Slug string `json:"-"`
Tags string `json:"tags"`
Template bool `json:"template"`
Layout string `json:"layout"`
}
// SetDefaults ensures on blanks and cleans.
@ -163,8 +162,6 @@ func (d *Document) SetDefaults() {
if len(d.Title) == 0 {
d.Title = "Document"
}
d.Layout = "doc"
}
// Attachment represents an attachment to a document.