gitea: use custom home template
This commit is contained in:
parent
5fa68568f3
commit
798a496709
|
@ -5,7 +5,7 @@
|
|||
./bitwarden_rs.nix
|
||||
./borg-backup.nix
|
||||
./fail2ban.nix
|
||||
./gitea.nix
|
||||
./gitea
|
||||
./jellyfin.nix
|
||||
./lohr.nix
|
||||
./matrix.nix
|
||||
|
|
|
@ -95,5 +95,7 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.gitea.preStart = "${pkgs.coreutils}/bin/ln -sfT ${./templates} ${config.services.gitea.stateDir}/custom/templates";
|
||||
};
|
||||
}
|
17
services/gitea/templates/home.tmpl
Normal file
17
services/gitea/templates/home.tmpl
Normal file
|
@ -0,0 +1,17 @@
|
|||
{{template "base/head" .}}
|
||||
<div class="page-content home">
|
||||
<div class="ui stackable middle very relaxed page grid">
|
||||
<div class="sixteen wide center aligned centered column">
|
||||
<div>
|
||||
<img class="logo" src="{{StaticUrlPrefix}}/img/gitea-lg.png"/>
|
||||
</div>
|
||||
<div class="hero">
|
||||
<h1 class="ui icon header title">
|
||||
{{AppName}}
|
||||
</h1>
|
||||
<h2>alarsyo's personal projects are hosted here</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Loading…
Reference in a new issue