Copy required files for pages
This commit is contained in:
@ -54,7 +54,7 @@ struct LocalizedSiteTemplate {
|
||||
factory.contentPage
|
||||
}
|
||||
|
||||
init(factory: TemplateFactory, language: String, site: Site, imageProcessor: ImageProcessor) throws {
|
||||
init(factory: TemplateFactory, language: String, site: Site, files: FileProcessor) throws {
|
||||
self.author = site.metadata.author
|
||||
self.factory = factory
|
||||
|
||||
@ -92,10 +92,10 @@ struct LocalizedSiteTemplate {
|
||||
topBarWebsiteTitle: title)
|
||||
self.pageHead = PageHeadGenerator(
|
||||
factory: factory,
|
||||
imageProcessor: imageProcessor)
|
||||
files: files)
|
||||
self.overviewSection = OverviewSectionGenerator(
|
||||
factory: factory,
|
||||
imageProcessor: imageProcessor)
|
||||
files: files)
|
||||
|
||||
self.placeholder = factory.placeholder.generate([
|
||||
.title: metadata.placeholderTitle,
|
||||
|
Reference in New Issue
Block a user