Improve page generation logging

This commit is contained in:
Christoph Hagen 2022-08-30 11:30:38 +02:00
parent db3c25f9db
commit 7df77da67c

View File

@ -29,7 +29,7 @@ struct OverviewPageGenerator {
guard factory.page.generate(content, to: url) else { guard factory.page.generate(content, to: url) else {
return return
} }
log.add(info: "Generated \(path)", source: section.path) log.add(info: "Page generated", source: path)
} }
private func makeContent(section: Element, language: String) -> String { private func makeContent(section: Element, language: String) -> String {