Add navigation settings, fix page generation
This commit is contained in:
@ -32,3 +32,13 @@ extension ContentLanguage: Comparable {
|
||||
lhs.rawValue < rhs.rawValue
|
||||
}
|
||||
}
|
||||
|
||||
extension ContentLanguage {
|
||||
|
||||
var next: ContentLanguage {
|
||||
switch self {
|
||||
case .english: return .german
|
||||
case .german: return .english
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user