Generate first tag pages
This commit is contained in:
@ -4,6 +4,7 @@ extension Page {
|
||||
|
||||
static var empty: Page {
|
||||
.init(
|
||||
content: .mock,
|
||||
id: "my-id",
|
||||
isDraft: true,
|
||||
createdDate: Date(),
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user