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

@ -4,6 +4,7 @@ extension Page {
static var empty: Page {
.init(
content: .mock,
id: "my-id",
isDraft: true,
createdDate: Date(),

View File

@ -2,7 +2,8 @@
extension Post {
static var empty: Post {
.init(id: "empty",
.init(content: Content.mock,
id: "empty",
isDraft: true,
createdDate: .now,
startDate: .now,
@ -15,6 +16,7 @@ extension Post {
static var mock: Post {
Post(
content: Content.mock,
id: "mock",
isDraft: false,
createdDate: .now,
@ -28,6 +30,7 @@ extension Post {
static var fullMock: Post {
.init(
content: Content.mock,
id: "full",
isDraft: true,
createdDate: .now,