Check all required files

This commit is contained in:
Christoph Hagen 2022-08-28 11:15:50 +02:00
parent 666074a65b
commit 80e71d76a5

View File

@ -10,6 +10,7 @@ struct SiteGenerator {
}
func generate(site: Element) throws {
site.requiredFiles.forEach(files.require)
try site.languages.forEach { metadata in
let language = metadata.language
let template = try LocalizedSiteTemplate(