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:
parent
f24eb5ad42
commit
0539bb332a
10 changed files with 38 additions and 51 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue