feat: add gardenStage and ai fields to all post type presets
- gardenStage: added to all post types (article, note, bookmark, like, repost, photo, reply, page) so Indiekit preserves it in frontmatter - aiTextLevel/aiCodeLevel/aiTools/aiDescription: extended from article+note to all content post types (bookmark, repost, photo, reply, page) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -213,6 +213,7 @@ export default {
|
|||||||
url: `${publicationBaseUrl}/articles/{slug}/`,
|
url: `${publicationBaseUrl}/articles/{slug}/`,
|
||||||
},
|
},
|
||||||
fields: {
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
aiTextLevel: {},
|
aiTextLevel: {},
|
||||||
aiCodeLevel: {},
|
aiCodeLevel: {},
|
||||||
aiTools: {},
|
aiTools: {},
|
||||||
@@ -226,6 +227,7 @@ export default {
|
|||||||
url: `${publicationBaseUrl}/notes/{slug}/`,
|
url: `${publicationBaseUrl}/notes/{slug}/`,
|
||||||
},
|
},
|
||||||
fields: {
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
aiTextLevel: {},
|
aiTextLevel: {},
|
||||||
aiCodeLevel: {},
|
aiCodeLevel: {},
|
||||||
aiTools: {},
|
aiTools: {},
|
||||||
@@ -238,6 +240,13 @@ export default {
|
|||||||
path: "content/bookmarks/{slug}.md",
|
path: "content/bookmarks/{slug}.md",
|
||||||
url: `${publicationBaseUrl}/bookmarks/{slug}/`,
|
url: `${publicationBaseUrl}/bookmarks/{slug}/`,
|
||||||
},
|
},
|
||||||
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
|
aiTextLevel: {},
|
||||||
|
aiCodeLevel: {},
|
||||||
|
aiTools: {},
|
||||||
|
aiDescription: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
like: {
|
like: {
|
||||||
name: "Like",
|
name: "Like",
|
||||||
@@ -245,6 +254,9 @@ export default {
|
|||||||
path: "content/likes/{slug}.md",
|
path: "content/likes/{slug}.md",
|
||||||
url: `${publicationBaseUrl}/likes/{slug}/`,
|
url: `${publicationBaseUrl}/likes/{slug}/`,
|
||||||
},
|
},
|
||||||
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
repost: {
|
repost: {
|
||||||
name: "Repost",
|
name: "Repost",
|
||||||
@@ -252,6 +264,13 @@ export default {
|
|||||||
path: "content/reposts/{slug}.md",
|
path: "content/reposts/{slug}.md",
|
||||||
url: `${publicationBaseUrl}/reposts/{slug}/`,
|
url: `${publicationBaseUrl}/reposts/{slug}/`,
|
||||||
},
|
},
|
||||||
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
|
aiTextLevel: {},
|
||||||
|
aiCodeLevel: {},
|
||||||
|
aiTools: {},
|
||||||
|
aiDescription: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
photo: {
|
photo: {
|
||||||
name: "Foto",
|
name: "Foto",
|
||||||
@@ -263,6 +282,13 @@ export default {
|
|||||||
path: "images/{filename}",
|
path: "images/{filename}",
|
||||||
url: `${publicationBaseUrl}/images/{filename}`,
|
url: `${publicationBaseUrl}/images/{filename}`,
|
||||||
},
|
},
|
||||||
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
|
aiTextLevel: {},
|
||||||
|
aiCodeLevel: {},
|
||||||
|
aiTools: {},
|
||||||
|
aiDescription: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
reply: {
|
reply: {
|
||||||
name: "Antwort",
|
name: "Antwort",
|
||||||
@@ -270,6 +296,13 @@ export default {
|
|||||||
path: "content/replies/{slug}.md",
|
path: "content/replies/{slug}.md",
|
||||||
url: `${publicationBaseUrl}/replies/{slug}/`,
|
url: `${publicationBaseUrl}/replies/{slug}/`,
|
||||||
},
|
},
|
||||||
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
|
aiTextLevel: {},
|
||||||
|
aiCodeLevel: {},
|
||||||
|
aiTools: {},
|
||||||
|
aiDescription: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
page: {
|
page: {
|
||||||
name: "Seite",
|
name: "Seite",
|
||||||
@@ -277,6 +310,13 @@ export default {
|
|||||||
path: "content/pages/{slug}.md",
|
path: "content/pages/{slug}.md",
|
||||||
url: `${publicationBaseUrl}/{slug}/`,
|
url: `${publicationBaseUrl}/{slug}/`,
|
||||||
},
|
},
|
||||||
|
fields: {
|
||||||
|
gardenStage: {},
|
||||||
|
aiTextLevel: {},
|
||||||
|
aiCodeLevel: {},
|
||||||
|
aiTools: {},
|
||||||
|
aiDescription: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user