2022-08-17 10:36:21 +02:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
struct PageImageTemplate: Template {
|
|
|
|
|
|
|
|
enum Key: String, CaseIterable {
|
|
|
|
case image = "IMAGE"
|
2022-11-27 20:31:56 +01:00
|
|
|
case imageExtension = "IMAGE_EXT"
|
2022-08-17 10:36:21 +02:00
|
|
|
case width = "WIDTH"
|
|
|
|
case height = "HEIGHT"
|
|
|
|
case leftText = "LEFT_TEXT"
|
|
|
|
case rightText = "RIGHT_TEXT"
|
|
|
|
}
|
|
|
|
|
|
|
|
static let templateName = "image.html"
|
|
|
|
|
|
|
|
let raw: String
|
|
|
|
|
|
|
|
}
|