2022-08-16 10:39:05 +02:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
struct PageHeadTemplate: Template {
|
|
|
|
|
|
|
|
enum Key: String, CaseIterable {
|
|
|
|
case author = "AUTHOR"
|
|
|
|
case title = "TITLE"
|
|
|
|
case description = "DESCRIPTION"
|
|
|
|
case image = "IMAGE"
|
|
|
|
case customPageContent = "CUSTOM"
|
|
|
|
}
|
|
|
|
|
|
|
|
let raw: String
|
|
|
|
|
2022-12-02 10:25:54 +01:00
|
|
|
let results: GenerationResultsHandler
|
|
|
|
|
2022-08-16 10:39:05 +02:00
|
|
|
static let templateName = "head.html"
|
|
|
|
}
|