19 lines
380 B
Swift
19 lines
380 B
Swift
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
|
|
|
|
let results: GenerationResultsHandler
|
|
|
|
static let templateName = "head.html"
|
|
}
|