Improve page indicators, adding items

This commit is contained in:
Christoph Hagen
2025-01-09 13:27:38 +01:00
parent 0590224f02
commit 0db6e411c3
23 changed files with 238 additions and 206 deletions

View File

@ -23,10 +23,12 @@ extension Content {
}
func isValidIdForTagOrPageOrPost(_ id: String) -> Bool {
!id.isEmpty &&
id.rangeOfCharacter(from: Content.disallowedCharactersInIds) == nil
}
func isValidIdForFile(_ id: String) -> Bool {
!id.isEmpty &&
id.rangeOfCharacter(from: Content.disallowedCharactersInFileIds) == nil
}