Remove global files from additional output list

This commit is contained in:
Christoph Hagen 2025-02-28 19:14:58 +01:00
parent 5dc63732f8
commit 5d4b3f715e

View File

@ -8,6 +8,7 @@ extension Content {
self.storage.writeNotification = { [weak self] in
self?.results.created(outputFile: $0)
}
self.addGloballyRequiredFiles()
self.generatePagesInternal()
self.generatePostFeedPagesInternal()
self.generateTagPagesInternal()
@ -51,6 +52,10 @@ extension Content {
}
}
private func addGloballyRequiredFiles() {
results.general.require(files: settings.general.requiredFiles)
}
private func copyRequiredFiles() {
let count = results.requiredFiles.count
var completed = 0