CHGenerator/Sources/Generator/Templates/Elements/PageImageTemplate.swift

19 lines
373 B
Swift
Raw Normal View History

import Foundation
struct PageImageTemplate: Template {
enum Key: String, CaseIterable {
case image = "IMAGE"
2022-11-27 20:31:56 +01:00
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
}