From 4431d79708061d026091d6631d4262000618242b Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Mon, 01 Nov 2021 17:49:57 +0000 Subject: [PATCH] feat: added documentation --- README.md | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 18dfa72..231af86 100644 --- a/README.md +++ b/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%: -- Gitblit v1.10.0