Fix publication postTypes config shape

This commit is contained in:
svemagie
2026-03-07 19:59:28 +01:00
parent c578eed288
commit a07f57649d

View File

@@ -30,32 +30,29 @@ export default {
}, },
publication: { publication: {
me: "https://blog.giersig.eu", me: "https://blog.giersig.eu",
postTypes: [ postTypes: {
{ article: {
type: "article",
name: "Artikel", name: "Artikel",
post: { post: {
path: "src/posts/{slug}.md", path: "src/posts/{slug}.md",
url: "https://blog.giersig.eu/posts/{slug}/", url: "https://blog.giersig.eu/posts/{slug}/",
}, },
}, },
{ note: {
type: "note",
name: "Notiz", name: "Notiz",
post: { post: {
path: "src/notes/{slug}.md", path: "src/notes/{slug}.md",
url: "https://blog.giersig.eu/notes/{slug}/", url: "https://blog.giersig.eu/notes/{slug}/",
}, },
}, },
{ bookmark: {
type: "bookmark",
name: "Lesezeichen", name: "Lesezeichen",
post: { post: {
path: "src/bookmarks/{slug}.md", path: "src/bookmarks/{slug}.md",
url: "https://blog.giersig.eu/bookmarks/{slug}/", url: "https://blog.giersig.eu/bookmarks/{slug}/",
}, },
}, },
], },
}, },
plugins: [ plugins: [