mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 18:06:07 +01:00
My previous forking from @indiekit/preset-hugo left some failing tests — this commit fixes those.
97 lines
2.4 KiB
JavaScript
97 lines
2.4 KiB
JavaScript
export default {
|
|
application: {
|
|
name: "IndieKit byJP",
|
|
mongodbUrl: process.env.MONGO_URL,
|
|
port: process.env.PORT ?? 8808,
|
|
timeZone: 'Europe/London',
|
|
},
|
|
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}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"jphastings/indiekit-preset-byjp": {},
|
|
"@indiekit/store-github": {
|
|
user: "by-jp",
|
|
repo: "www.byjp.me",
|
|
branch: "main"
|
|
},
|
|
"@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": {}
|
|
}
|