add custom templates
This commit is contained in:
parent
fb771b27c1
commit
a20c7035af
2 changed files with 24 additions and 0 deletions
7
templates/custom/body_outer_pre.tmpl
Normal file
7
templates/custom/body_outer_pre.tmpl
Normal 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}}
|
Loading…
Add table
Add a link
Reference in a new issue