Rename page state hidden

This commit is contained in:
Christoph Hagen 2022-08-29 13:34:10 +02:00
parent 3d6440e7c8
commit 4fd61a5a69

View File

@ -14,7 +14,7 @@ enum PageState: String {
/**
Generate the page, but don't include it in overviews of the parent.
*/
case hide
case hidden
}
extension PageState {
@ -23,7 +23,7 @@ extension PageState {
switch self {
case .standard, .draft:
return true
case .hide:
case .hidden:
return false
}
}
@ -34,7 +34,7 @@ extension PageState {
return true
case .draft:
return false
case .hide:
case .hidden:
return false
}
}