18 lines
350 B
Swift
18 lines
350 B
Swift
import Foundation
|
|
|
|
struct TopBarTemplate: Template {
|
|
|
|
enum Key: String, CaseIterable {
|
|
case title = "TITLE"
|
|
case titleLink = "TITLE_URL"
|
|
case elements = "ELEMENTS"
|
|
case languageButton = "LANG_BUTTON"
|
|
}
|
|
|
|
static let templateName = "bar.html"
|
|
|
|
var raw: String
|
|
|
|
let results: GenerationResultsHandler
|
|
}
|