-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindiekit.config.js
60 lines (54 loc) · 1.31 KB
/
indiekit.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import process from "node:process";
import * as dotenv from "dotenv";
dotenv.config();
const config = {
/**
* Plug-ins
*
* In this example we have chosen to use a publication preset for Jekyll,
* save posts and media files to a GitHub repository, and added a syndicator
* to share posts on a Mastodon server.
*
* See: https://getindiekit.com/configuration/#plugins
*/
plugins: [
"@indiekit/preset-jekyll",
"@indiekit/store-github",
"@indiekit/syndicator-mastodon",
],
/**
* Publication options
*
* These values are used to configure application behaviour.
*
* See: https://getindiekit.com/configuration/#publication
*/
publication: {
me: process.env.PUBLICATION_URL,
},
/**
* GitHub content store options
*
* Other content stores are available.
*
* See: https://getindiekit.com/plugins/stores
*/
"@indiekit/store-github": {
user: process.env.GITHUB_USER,
repo: process.env.GITHUB_REPO,
branch: process.env.GITHUB_BRANCH,
},
/**
* Mastodon syndicator options
*
* Multiple syndicators can be added.
*
* See: https://getindiekit.com/plugins/syndicators
*/
"@indiekit/syndicator-mastodon": {
checked: true,
url: process.env.MASTODON_URL,
user: process.env.MASTODON_USER,
}
};
export default config;