forgejo: add a template for the home page
This commit is contained in:
parent
e096a5bf54
commit
3af3f4e917
2 changed files with 61 additions and 0 deletions
|
@ -99,6 +99,7 @@ in {
|
|||
# You need to specify this to remove the port from URLs in the web UI.
|
||||
ROOT_URL = "https://${domain}/";
|
||||
HTTP_PORT = port;
|
||||
LANDING_PAGE = "home";
|
||||
};
|
||||
DEFAULT = {
|
||||
APP_NAME = "Copeberg.org";
|
||||
|
@ -162,6 +163,11 @@ in {
|
|||
"L+ '${customDir}/public/assets/css/codeberg/base-brand.css' - - - - ${base-brand}"
|
||||
"L+ '${customDir}/public/assets/css/codeberg/dark-variables.css' - - - - ${dark-variables}"
|
||||
|
||||
# Templates
|
||||
"d '${customDir}/templates ' 0750 ${user} ${group} - -"
|
||||
# Home page
|
||||
"L+ '${customDir}/templates' - - - - ${./templates}"
|
||||
|
||||
# Fuck off scrapers
|
||||
"L+ ${customDir}/public/robots.txt - - - - ${robots.outPath}"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue