Generate draft pages
This commit is contained in:
parent
42ae757414
commit
5090cc8d8b
@ -20,9 +20,6 @@ struct PageGenerator {
|
|||||||
guard !page.isExternalPage else {
|
guard !page.isExternalPage else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
guard page.state != .draft else {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
let path = page.fullPageUrl(for: language)
|
let path = page.fullPageUrl(for: language)
|
||||||
let inputContentPath = page.path + "/\(language).md"
|
let inputContentPath = page.path + "/\(language).md"
|
||||||
let metadata = page.localized(for: language)
|
let metadata = page.localized(for: language)
|
||||||
|
Loading…
Reference in New Issue
Block a user