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

@ -81,6 +81,7 @@ final class Post: Item, DateItem, LocalizedItem {
func toggle(_ tag: Tag) {
if let linkedPage {
linkedPage.toggle(tag)
didChange() // Otherwise tags will not be updated
return
}
guard let index = tags.firstIndex(of: tag) else {