diff options
Diffstat (limited to 'templates/base/head.tmpl')
-rw-r--r-- | templates/base/head.tmpl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 55dd469093..7775933ca9 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> - <head{{if AppRootSubUrl}} data-suburl="{{AppRootSubUrl}}"{{end}}> + <head{{if AppSubUrl}} data-suburl="{{AppSubUrl}}"{{end}}> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link rel="shortcut icon" href="{{AppRootSubUrl}}/img/favicon.png" /> + <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="author" content="Gogs - Go Git Service" /> @@ -19,21 +19,21 @@ <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> {{else}} - <link href="{{AppRootSubUrl}}/css/bootstrap.min.css" rel="stylesheet" /> - <link href="{{AppRootSubUrl}}/css/font-awesome.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/bootstrap.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/font-awesome.min.css" rel="stylesheet" /> - <script src="{{AppRootSubUrl}}/js/jquery-1.10.1.min.js"></script> - <script src="{{AppRootSubUrl}}/js/bootstrap.min.js"></script> + <script src="{{AppSubUrl}}/js/jquery-1.10.1.min.js"></script> + <script src="{{AppSubUrl}}/js/bootstrap.min.js"></script> {{end}} - <link href="{{AppRootSubUrl}}/css/todc-bootstrap.min.css" rel="stylesheet" /> - <link href="{{AppRootSubUrl}}/css/datepicker3.css" rel="stylesheet" /> - <link href="{{AppRootSubUrl}}/css/bootstrap-colorpicker.min.css" rel="stylesheet" /> - <link href="{{AppRootSubUrl}}/css/markdown.css" rel="stylesheet" /> - <link href="{{AppRootSubUrl}}/css/gogs.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/todc-bootstrap.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/datepicker3.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/bootstrap-colorpicker.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/markdown.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/gogs.css" rel="stylesheet" /> - <script src="{{AppRootSubUrl}}/js/lib.js"></script> - <script src="{{AppRootSubUrl}}/js/app.js"></script> + <script src="{{AppSubUrl}}/js/lib.js"></script> + <script src="{{AppSubUrl}}/js/app.js"></script> <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> </head> <body> |