From 1f5fb76cb021ea662a8981bd3859632ce50a617b Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Wed, 17 Feb 2021 13:22:42 +0000 Subject: [PATCH] Updated Appearance (markdown) --- Appearance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Appearance.md b/Appearance.md index a1f7b49..1d6d806 100644 --- a/Appearance.md +++ b/Appearance.md @@ -10,7 +10,7 @@ Custom CSS can be achieved by modifying `css/dark.css` in the source code, and t One can specify a path to a folder containing customized HTML files with the `files/html_templates` setting. Any files that match the names of jfa-go's internal templates will be loaded instead. The files use go's built in templating language, so familiarize yourself with it first ([a good resource](https://blog.gopheracademy.com/advent-2017/using-go-templates/)) so you know what different parts do. You can find the internal templates [here](https://github.com/hrfee/jfa-go/tree/main/html). -Additionally, All text on the page, including password requirement strings (e.g "Must have at least n characters") can be customized. Copy one of the internal language files in the `lang/form` or `/build/data/lang/form` directory, and change at least the `"meta": { name: "" }` field (This is the name that will appear in settings). You can also edit an existing file to overwrite it. Restart jfa-go and you should see a new option in Settings > General > Language. +Additionally, All text on the page, including password requirement strings (e.g "Must have at least n characters") can be customized. The `files/lang_files` setting should be the path to a custom language directory that follows the same structure as the internal [lang](https://github.com/hrfee/jfa-go/tree/main/lang) directory. Copy one of the internal language files from `lang/` into it and change at least the `"meta": { name: "" }` field (This is the name that will appear in settings). If you use the same name, it will replace the internal language file. Restart jfa-go and you should see a new option in Settings > General > Language. Good luck!