fix home.tmpl changes to forgjeo

This commit is contained in:
aviac 2025-06-19 10:11:11 +02:00
parent 99cdbdd49c
commit f0a7c9a2ca
No known key found for this signature in database
GPG key ID: 644781002BDEA982
2 changed files with 21 additions and 24 deletions

View file

@ -57,13 +57,13 @@ in
HTTP_PORT = 3000; HTTP_PORT = 3000;
SSH_PORT = 62; SSH_PORT = 62;
# STATIC_ROOT_PATH = pkgs.runCommand "patch-templates" { } '' STATIC_ROOT_PATH = pkgs.runCommand "patch-templates" { } ''
# mkdir -p $out mkdir -p $out
# ${pkgs.lib.getExe' pkgs.coreutils "cp"} -r ${pkgs.forgejo.data}/* $out ${pkgs.lib.getExe' pkgs.coreutils "cp"} -r ${config.services.forgejo.package.data}/* $out
# chmod u+w $out/templates/home.tmpl chmod u+w $out/templates/home.tmpl
# ${pkgs.lib.getExe' pkgs.coreutils "cp"} -f ${./home.tmpl} $out/templates/home.tmpl ${pkgs.lib.getExe' pkgs.coreutils "cp"} -f ${./home.tmpl} $out/templates/home.tmpl
# chmod u-w $out/templates/home.tmpl chmod u-w $out/templates/home.tmpl
# ''; '';
}; };
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
actions = { actions = {
@ -88,8 +88,6 @@ in
}; };
}; };
openssh = { openssh = {
ports = [ 62 ]; ports = [ 62 ];
settings = { settings = {

View file

@ -8,9 +8,8 @@
{{AppDisplayName}} {{AppDisplayName}}
</h1> </h1>
<h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2> <h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
<!-- <h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
<h2>Das ist der Entwicklungsserver der PTS.</h2> <h2>Das ist der Entwicklungsserver der PTS.</h2>
<h2>Zur PTS-Website geht es <a href="https://www.ptspaper.de/de/">hier</a></h2> --> <h2>Zur PTS-Website geht es <a href="https://www.ptspaper.de/de/">hier</a></h2>
</div> </div>
</div> </div>
</div> </div>