add custom templates

This commit is contained in:
Jean-Marie Mineau 2023-02-28 12:50:38 +01:00
parent fb771b27c1
commit a20c7035af
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{{ if .IsSigned }}
{{ if and (ne .SignedUser.Theme "gitea") (ne .SignedUser.Theme "arc-green") }}
<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{.SignedUser.Theme}}.css">
{{end}}
{{ else if and (ne DefaultTheme "gitea") (ne DefaultTheme "arc-green") }}
<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{DefaultTheme}}.css">
{{end}}