Colors, pages, post links

This commit is contained in:
Christoph Hagen
2024-11-20 13:53:44 +01:00
parent 943d8d962b
commit 8ae2a237cc
19 changed files with 466 additions and 46 deletions

View File

@ -59,7 +59,7 @@ final class Page: ObservableObject {
self.tags = tags
}
func metadata(for language: ContentLanguage) -> LocalizedPage? {
func localized(in language: ContentLanguage) -> LocalizedPage {
switch language {
case .german: return german
case .english: return english