File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 20
20
{{end}}
21
21
<link rel="icon" href="{{AssetUrlPrefix}}/img/favicon.svg" type="image/svg+xml">
22
22
<link rel="alternate icon" href="{{AssetUrlPrefix}}/img/favicon.png" type="image/png">
23
- <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/index.css?v={{AssetVersion}}">
24
23
{{template "base/head_script" .}}
25
24
<noscript>
26
25
<style>
63
62
<meta property="og:url" content="{{AppUrl}}">
64
63
<meta property="og:description" content="{{MetaDescription}}">
65
64
{{end}}
66
- <meta property="og:site_name" content="{{AppName}}">
67
- {{if .IsSigned}}
68
- {{if ne .SignedUser.Theme "gitea"}}
69
- <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{.SignedUser.Theme | PathEscape}}.css?v={{AssetVersion}}">
70
- {{end}}
71
- {{else if ne DefaultTheme "gitea"}}
72
- <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{DefaultTheme | PathEscape}}.css?v={{AssetVersion}}">
73
- {{end}}
74
- {{template "custom/header" .}}
65
+ <meta property="og:site_name" content="{{AppName}}">
66
+ {{template "base/stylesheets" .}}
67
+ {{template "custom/header" .}}
75
68
</head>
76
69
<body>
77
70
{{template "custom/body_outer_pre" .}}
Original file line number Diff line number Diff line change
1
+ <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/index.css?v={{AssetVersion}}">
2
+ {{if .IsSigned}}
3
+ {{if ne .SignedUser.Theme "gitea"}}
4
+ <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{.SignedUser.Theme | PathEscape}}.css?v={{AssetVersion}}">
5
+ {{end}}
6
+ {{else if ne DefaultTheme "gitea"}}
7
+ <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{DefaultTheme | PathEscape}}.css?v={{AssetVersion}}">
8
+ {{end}}
Original file line number Diff line number Diff line change 11
11
<title>Internal Server Error - {{AppName}}</title>
12
12
<link rel="icon" href="{{AssetUrlPrefix}}/img/favicon.svg" type="image/svg+xml">
13
13
<link rel="alternate icon" href="{{AssetUrlPrefix}}/img/favicon.png" type="image/png">
14
- <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/index.css?v={{AssetVersion}}">
14
+ {{template "base/stylesheets" .}}
15
15
</head>
16
16
<body>
17
17
<div class="full height">
You can’t perform that action at this time.
0 commit comments