Fix publication postTypes config shape
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user