-
Notifications
You must be signed in to change notification settings - Fork 136
System Settings
Edi Wang edited this page Oct 25, 2020
·
7 revisions
This wiki discuss system settings in appsettings.[env].json. For blog settings, please use "/admin/settings" UI.
For production, it is strongly recommended to use Environment Variables over appsetting.json file.
Key | Data Type | Description |
---|---|---|
CaptchaSettings:ImageWidth |
int |
Pixel Width of Captcha Image |
CaptchaSettings:ImageHeight |
int |
Pixel Height of Captcha Image |
Editor |
string |
HTML or Markdown
|
EnableAudit |
bool |
Enable Audit Log or not |
EnableWebApi |
bool |
Enable REST API |
CacheSlidingExpirationMinutes:Post |
int |
Time for cached posts to expire |
CacheSlidingExpirationMinutes:Page |
int |
Time for cached pages to expire |
CacheSlidingExpirationMinutes:Image |
int |
Time for cached image to expire |
PostAbstractWords |
int |
How may words to show in post list abstract |
SystemNavMenus:Categories |
bool |
Show 'Categories' Menu |
SystemNavMenus:Tags |
bool |
Show 'Tags' Menu |
SystemNavMenus:Archive |
bool |
Show 'Archive' Menu |