mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
01.49.2021 4431d79708061d026091d6631d4262000618242b
feat: added documentation

1 files modified
13 ■■■■■ changed files
README.md 13 ●●●●● patch | view | raw | blame | history
README.md
@@ -167,6 +167,19 @@
listDateFormat = "Jan 2"
```
### Change the language names in the language dropdown
The language names displayed on the main menu are controlled by the variables `LanguageName`. You can set these to shortcode, full name or a flag emoji by simply changing the parameter. In the following example English will be displayed as "EN" and Arabic will be displayed as "Arabic".
```toml
[languages]
[en]
LanguageName = "EN"
[ar]
LanguageName = "Arabic"
```
### Changing the sidebar/content ratio
By default, the content fills up 60% of the screen width on devices with a full HD resolution. If you want to change the ratio, adjust the `contentratio` variable. Let's, for example, set the content ratio to 70%: