21 lines
416 B
Swift
21 lines
416 B
Swift
import Foundation
|
|
|
|
struct PageImageTemplate: Template {
|
|
|
|
enum Key: String, CaseIterable {
|
|
case image = "IMAGE"
|
|
case imageExtension = "IMAGE_EXT"
|
|
case width = "WIDTH"
|
|
case height = "HEIGHT"
|
|
case leftText = "LEFT_TEXT"
|
|
case rightText = "RIGHT_TEXT"
|
|
}
|
|
|
|
static let templateName = "image.html"
|
|
|
|
let raw: String
|
|
|
|
let results: GenerationResultsHandler
|
|
|
|
}
|