Check all required files
This commit is contained in:
parent
666074a65b
commit
80e71d76a5
@ -10,6 +10,7 @@ struct SiteGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func generate(site: Element) throws {
|
func generate(site: Element) throws {
|
||||||
|
site.requiredFiles.forEach(files.require)
|
||||||
try site.languages.forEach { metadata in
|
try site.languages.forEach { metadata in
|
||||||
let language = metadata.language
|
let language = metadata.language
|
||||||
let template = try LocalizedSiteTemplate(
|
let template = try LocalizedSiteTemplate(
|
||||||
|
Loading…
Reference in New Issue
Block a user