16 lines
307 B
Swift
16 lines
307 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
|
||
|
}
|