Add result handler to templates

This commit is contained in:
Christoph Hagen
2022-12-02 10:25:54 +01:00
parent 6e24c27fdc
commit 6a52f62402
15 changed files with 60 additions and 25 deletions

View File

@ -19,6 +19,8 @@ struct CenteredHeaderTemplate: Template {
let raw: String
let results: GenerationResultsHandler
static let templateName = "header-center.html"
}
@ -28,5 +30,7 @@ struct LeftHeaderTemplate: Template {
let raw: String
let results: GenerationResultsHandler
static let templateName = "header-left.html"
}

View File

@ -18,4 +18,6 @@ struct PageTemplate: Template {
static let templateName = "page.html"
let raw: String
let results: GenerationResultsHandler
}