Updated readme
This commit is contained in:
parent
90a31b2941
commit
2de92731cf
2 changed files with 20 additions and 6 deletions
13
readme.md
13
readme.md
|
@ -44,11 +44,11 @@ Both files will automatically be generated by AntCMS if they don't exist.
|
|||
- `siteTitle: AntCMS` - This configuration sets the title of your AntCMS website.
|
||||
- `forceHTTPS: true` - Set to 'true' by default, enables HTTPs redirection.
|
||||
- `activeTheme: Default` - Sets what theme AntCMS should use. should match the folder name of the theme you want to use.
|
||||
- `generateKeywords: true` - AntCMS will automatically attempt to generate keywords for each page if they don't have keywords defined. Set this to `false` to disable this.
|
||||
- `generateKeywords: true` - AntCMS will automatically attempt to generate keywords for each page if they don't have keywords defined. Set this to `false` to disable this. Note: this feature is very limited, we highly suggest manually creating keywords for your content.
|
||||
- `enableCache: true` - Enables or disables file caching in AntCMS.
|
||||
- `admin:`
|
||||
- `password: ''` - Currently unused.
|
||||
- `username: ''` - Currently unused.
|
||||
- `username: 'Admin'` - The username used to access any parts of AntCMS that may require authentication.
|
||||
- `password: 'dontmakeitpassword123'` - The password associated with the admin account. Can be entered as plain text and then will automatically be hashed with the first login. This does need to be manually entered initially.
|
||||
- `debug: true`- Enabled or disables debug mode.
|
||||
- `baseURL: antcms.example.com/` - Used to set the baseURL for your AntCMS instance, without the protocol. This will be automatically generated for you, but can be changed if needed.
|
||||
|
||||
|
@ -61,3 +61,10 @@ Here's what the `pages.yaml` file looks like:
|
|||
- `fullPagePath: /antcms.example.com/public_html/Content/index.md` - This defines the full path to your page, as PHP would use to access it.
|
||||
- `functionalPagePath: /index.md` - This is the actual path you would use to access the page from online. Ex: `antcms.example.com/index.php`
|
||||
- `showInNav: true` - If you'd like to hide a page from the navbar, set this to false and it will be hidden.
|
||||
|
||||
#### The Admin Plugin
|
||||
|
||||
AntCMS has a very simple admin plugin. Once you set your password in your `config.yaml`, you can access it by visiting `antcms.example.com/plugin/admin`.
|
||||
It will then require you to authenticate using your AntCMS credentials and from there will give you a few simple actions such as editing your config, a page, or regenerating the page list.
|
||||
|
||||
Note: when editing the config, if you 'save' it and it didn't update, this means you made an error in the config file and AntCMS prevented the file from being saved.
|
||||
|
|
|
@ -48,11 +48,11 @@ Both files will automatically be generated by AntCMS if they don't exist.
|
|||
- `siteTitle: AntCMS` - This configuration sets the title of your AntCMS website.
|
||||
- `forceHTTPS: true` - Set to 'true' by default, enables HTTPs redirection.
|
||||
- `activeTheme: Default` - Sets what theme AntCMS should use. should match the folder name of the theme you want to use.
|
||||
- `generateKeywords: true` - AntCMS will automatically attempt to generate keywords for each page if they don't have keywords defined. Set this to `false` to disable this.
|
||||
- `generateKeywords: true` - AntCMS will automatically attempt to generate keywords for each page if they don't have keywords defined. Set this to `false` to disable this. Note: this feature is very limited, we highly suggest manually creating keywords for your content.
|
||||
- `enableCache: true` - Enables or disables file caching in AntCMS.
|
||||
- `admin:`
|
||||
- `password: ''` - Currently unused.
|
||||
- `username: ''` - Currently unused.
|
||||
- `username: 'Admin'` - The username used to access any parts of AntCMS that may require authentication.
|
||||
- `password: 'dontmakeitpassword123'` - The password associated with the admin account. Can be entered as plain text and then will automatically be hashed with the first login. This does need to be manually entered initially.
|
||||
- `debug: true`- Enabled or disables debug mode.
|
||||
- `baseURL: antcms.example.com/` - Used to set the baseURL for your AntCMS instance, without the protocol. This will be automatically generated for you, but can be changed if needed.
|
||||
|
||||
|
@ -65,3 +65,10 @@ Here's what the `pages.yaml` file looks like:
|
|||
- `fullPagePath: /antcms.example.com/public_html/Content/index.md` - This defines the full path to your page, as PHP would use to access it.
|
||||
- `functionalPagePath: /index.md` - This is the actual path you would use to access the page from online. Ex: `antcms.example.com/index.php`
|
||||
- `showInNav: true` - If you'd like to hide a page from the navbar, set this to false and it will be hidden.
|
||||
|
||||
#### The Admin Plugin
|
||||
|
||||
AntCMS has a very simple admin plugin. Once you set your password in your `config.yaml`, you can access it by visiting `antcms.example.com/plugin/admin`.
|
||||
It will then require you to authenticate using your AntCMS credentials and from there will give you a few simple actions such as editing your config, a page, or regenerating the page list.
|
||||
|
||||
Note: when editing the config, if you 'save' it and it didn't update, this means you made an error in the config file and AntCMS prevented the file from being saved.
|
||||
|
|
Loading…
Reference in a new issue