Generate first tag pages

This commit is contained in:
Christoph Hagen
2024-12-09 17:47:03 +01:00
parent 4f08526978
commit 8183bc4903
35 changed files with 719 additions and 1105 deletions

View File

@ -1,6 +1,14 @@
import SwiftUI
import SFSafeSymbols
/*
Page: One page -> One post with overview
Post: One post -> No page
Page update: One page -> Multiple posts
*/
#warning("Consolidate images and files")
#warning("Allow selection of pages as navigation bar items")
@ -171,7 +179,11 @@ struct MainView: App {
private func save() {
// Save all changed files
content.saveToDisk()
do {
try content.saveToDisk()
} catch {
print("Failed to save content: \(error.localizedDescription)")
}
}
private func loadContent() {