mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
98 lines
2.4 KiB
JavaScript
98 lines
2.4 KiB
JavaScript
export default {
|
|
"application": {
|
|
"mongodbUrl": process.env.MONGO_URL,
|
|
},
|
|
"plugins": [
|
|
"indiekit-preset-byjp",
|
|
"@indiekit/store-github",
|
|
"@indiekit/syndicator-mastodon",
|
|
"@indiekit/endpoint-files",
|
|
"@indiekit/endpoint-image",
|
|
"@indiekit/endpoint-micropub",
|
|
"@indiekit/endpoint-posts",
|
|
"@indiekit/endpoint-share",
|
|
"@indiekit/post-type-bookmark",
|
|
"@indiekit/post-type-event",
|
|
"@indiekit/post-type-like",
|
|
"@indiekit/post-type-note",
|
|
"@indiekit/post-type-photo",
|
|
"@indiekit/post-type-jam",
|
|
"@indiekit/post-type-reply"
|
|
],
|
|
"publication": {
|
|
"me": process.env.SITE,
|
|
"enrichPostData": true,
|
|
"postTypes": {
|
|
"event": {
|
|
"name": "Event",
|
|
"post": {
|
|
"path": "content/calendar/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
|
"url": "calendar/{yyyy}-{MM}-{dd}/{slug}"
|
|
}
|
|
},
|
|
"like": {
|
|
"name": "Like",
|
|
"post": {
|
|
"path": "content/likes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
|
"url": "likes/{yyyy}-{MM}-{dd}/{slug}/"
|
|
}
|
|
},
|
|
"note": {
|
|
"name": "Note",
|
|
"post": {
|
|
"path": "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
|
"url": "notes/{yyyy}-{MM}-{dd}/{slug}/"
|
|
}
|
|
},
|
|
"reply": {
|
|
"name": "Reply",
|
|
"post": {
|
|
"path": "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
|
"url": "notes/{yyyy}-{MM}-{dd}/{slug}/"
|
|
}
|
|
},
|
|
"photo": {
|
|
"name": "Photo",
|
|
"post": {
|
|
"path": "content/photos/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
|
"url": "photos/{yyyy}-{MM}-{dd}/{slug}/"
|
|
},
|
|
"media": {
|
|
"path": "content/photos/{yyyy}-{MM}-{dd}/{slug}/{filename}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"indiekit-preset-byjp": {},
|
|
"@indiekit/store-github": {
|
|
"user": "by-jp",
|
|
"repo": "www.byjp.me",
|
|
"branch": "main"
|
|
},
|
|
"@indiekit/syndicator-mastodon": {
|
|
"url": "https://hachyderm.io",
|
|
"user": "byjp"
|
|
},
|
|
"@indiekit/post-type-bookmark": {
|
|
"name": "Bookmark"
|
|
},
|
|
"@indiekit/post-type-photo": {
|
|
"name": "Photo"
|
|
},
|
|
"@indiekit/post-type-jam": {
|
|
"name": "Jam"
|
|
},
|
|
"@indiekit/post-type-like": {
|
|
"name": "Like"
|
|
},
|
|
"@indiekit/post-type-note": {
|
|
"name": "Note"
|
|
},
|
|
"@indiekit/post-type-reply": {
|
|
"name": "Reply"
|
|
},
|
|
"@indiekit/endpoint-micropub": {},
|
|
"@indiekit/endpoint-share": {},
|
|
"@indiekit/endpoint-files": {},
|
|
"@indiekit/endpoint-posts": {}
|
|
}
|