more on documentation

This commit is contained in:
lesion
2019-07-26 23:53:02 +02:00
parent 4da5e6dca5
commit 10921a072f
22 changed files with 1302 additions and 32 deletions

View File

@@ -54,9 +54,33 @@ Where to save images
- ### SMTP
- ### Admin
- ### Favicon
You could specify another favicon
You could specify another favicon. This is also used as logo (top-left
corner):
`"favicon": "./favicon.ico"`
- ### User locale
Probably you want to modify some text for your specific community, that's
why we thought the `user_locale` configuration: you can specify your version of
each string of **gancio** making a directory with your locales inside.
For example, let's say you want to modify the text inside the `/about`
page:
`mkdir /opt/gancio/user_locale`
put something like this in `/opt/gancio/user_locale/en.js` to override the about in
english:
```js
export default {
about: 'A new about'
}
```
and then point the `user_locale` configuration to that directory:
```json
"user_locale": "/opt/gancio/user_locale"
```
Watch [here](https://git.lattuga.net/cisti/gancio/src/master/locales) for a
list of strings you can override.
<small>:warning: Note that a restart is needed when you change
user_locale's content.</small>
- ### Secret
@@ -87,4 +111,4 @@ You could specify another favicon
"admin": "",
"secret": "notsosecret"
}
```
```