tables in CONFIG.md
This commit is contained in:
@@ -16,29 +16,26 @@ All options show an example configuartion value and the variable type + an expla
|
|||||||
| root_path | "/path/to/root/of/website" | String | Anything in this directory will be in the webroot, so put favicon.ico and anything else here. |
|
| root_path | "/path/to/root/of/website" | String | Anything in this directory will be in the webroot, so put favicon.ico and anything else here. |
|
||||||
|
|
||||||
## Basic Customisation
|
## Basic Customisation
|
||||||
* "locale": en<br/>
|
| name | example value | variable type | explanation |
|
||||||
String. Your locale, see [/locales](/locales) for a list of all locales (you can open a PR for a new translation too)
|
|-----------------|----------------------------|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
* "seperator": "\<hr/\>"<br/>
|
|locale|"en"|String|Your locale, see [/locales](/locales) for a list of all locales (you can open a PR for a new translation too)|
|
||||||
String. This is what %S represents in the formatting, this will go inbetween posts and generally to seperate out content on pages.
|
|seperator|"\<hr/\>"|String|This is what %S represents in the formatting, this will go inbetween posts and generally to seperate out content on pages.|
|
||||||
* "site_name": "My Blog"<br/>
|
|site_name|"My Blog"|String|This is what %Y represents; it's the name of your instance, a human readable string.|
|
||||||
String. This is what %Y represents; it's the name of your instance, a human readable string.
|
|site_description|"Read my blogs!"|String|This is what %W represents; it's the description of your instance, a human readable string.|
|
||||||
* "site_description": "Read my blogs!"
|
|default_commenter_username|"Anon"|String|Default commenter username if no username is inputted in comment submission.|
|
||||||
String. This is what %W represents; it's the description of your instance, a human readable string.
|
|
||||||
* "default_commenter_username": "Anon"
|
|
||||||
String. Default commenter username if no username is inputted in comment submission.
|
|
||||||
|
|
||||||
## Syndication
|
## Syndication
|
||||||
* "rss": true<br/>
|
| name | example value | variable type | explanation |
|
||||||
Boolean. Enable or Disable RSS feeds.
|
|------|---------------|---------------|-------------------------------|
|
||||||
* "atom": true<br/>
|
| rss | true | Boolean | Enable or Disable RSS feeds. |
|
||||||
Boolean. Enable or Disable ATOM feeds.
|
| atom | true | Boolean | Enable or Disable ATOM feeds. |
|
||||||
|
|
||||||
## Dates
|
## Dates
|
||||||
Read more at [date-fns](https://date-fns.org/v4.1.0/docs/format)<br/>
|
Read more at [date-fns](https://date-fns.org/v4.1.0/docs/format)<br/>
|
||||||
* "date_format": "yyyy-MM-dd"<br/>
|
| name | example value | variable type | explanation |
|
||||||
String. The format of date's on the website.
|
|------|---------------|---------------|-------------------------------|
|
||||||
* "time_zone": "+0000"<br/>
|
|date_format|"yyyy-MM-dd"|String|The format of date's on the website.|
|
||||||
String. Your offset from UTC
|
|time_zone|"+0000"|String|\Your offset from UTC|
|
||||||
|
|
||||||
## Advanced Customisation
|
## Advanced Customisation
|
||||||
* /views/* files are EJS files (used for formatting HTML) and can be editted to your liking, you might want to read [the EJS docs](https://ejs.co/#docs) for help.
|
* /views/* files are EJS files (used for formatting HTML) and can be editted to your liking, you might want to read [the EJS docs](https://ejs.co/#docs) for help.
|
||||||
|
Reference in New Issue
Block a user