forgejo_installation_process/mod_landing_page
2025-01-28 20:28:53 +01:00
..
modules/setting Upload files to "mod_landing_page/ modules/setting" 2025-01-28 20:17:32 +01:00
routers/web Upload files to "mod_landing_page/ routers/web" 2025-01-28 20:18:20 +01:00
templates Upload files to "mod_landing_page/ templates/info" 2025-01-28 20:19:33 +01:00
README.md Update mod_landing_page/README.md 2025-01-28 20:28:53 +01:00

I added the

[Service]
ENABLE_LANDING_PAGE_INFO

parameter, which turns the info below the slogan on and off. Also I put the info in an extra file. I hope this helps people to customize their landing page without the need to check if the template changed.

Manual tests

  • If
[Service]
ENABLE_LANDING_PAGE_INFO

is not in the app.ini then we have the info about forgejo on the landing page

  • If
[Service]
ENABLE_LANDING_PAGE_INFO = true

is in the app.ini then we have the info about forgejo on the landing page

  • If
[Service]
ENABLE_LANDING_PAGE_INFO = false

is in the app.ini then we have no info about forgejo on the landing page

  • If
[Service]
ENABLE_LANDING_PAGE_INFO = true

is in the app.ini or if

[Service]
ENABLE_LANDING_PAGE_INFO

is not in the app.ini then the content of templates/info/landing-page-info.tmpl should be shown below the logo and the slogan and above the footer.