forgejo/modules/templates
mirko f015846c11 Add slogan config (#3752)
This is a PR for #3616

Currently added a new optional config `SLOGAN`  in ini file. When this config is set title page is modified in APP_NAME [ - SLOGAN]

Example in image below

![Selezione_075.png](/attachments/7a72171e-e730-4e57-8c97-ffc94258e00f)

Add the new config value in the admin settings page (readonly)

![Screenshot 2024-05-13 at 18-04-13 My Forgejo.png](/attachments/dad00fc2-29fa-4371-a7b9-5233eadeac13)

## TODO

* [x] Add the possibility to add the `SLOGAN` config from the installation form
* [ ] Update https://forgejo.org/docs/next/admin/config-cheat-sheet

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3752
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: mirko <mirko.perillo@gmail.com>
Co-committed-by: mirko <mirko.perillo@gmail.com>
2024-06-07 17:12:48 +00:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go Add slogan config (#3752) 2024-06-07 17:12:48 +00:00
helper_test.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
htmlrenderer.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
htmlrenderer_test.go
mailer.go Add slogan config (#3752) 2024-06-07 17:12:48 +00:00
main_test.go [BUG] Render correct label link 2024-04-12 17:23:20 +02:00
static.go
templates_bindata.go
util_avatar.go
util_dict.go
util_json.go
util_misc.go Avoid losing token when updating mirror settings (#30429) 2024-04-15 20:01:36 +02:00
util_render.go [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
util_render_test.go Fix user mention processing 2024-04-30 12:51:30 +02:00
util_slice.go
util_string.go Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
util_string_test.go templates: HasPrefix support for template.HTML 2024-02-16 15:20:52 +01:00
util_test.go