gogs/templates/ng/base/head.tmpl

45 lines
2.0 KiB
Cheetah
Raw Normal View History

2014-07-26 00:24:27 -04:00
<!DOCTYPE html>
<html>
<head data-suburl="{{AppSubUrl}}">
2014-07-26 00:24:27 -04:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="author" content="Gogs - Go Git Service" />
<meta name="description" content="Gogs(Go Git Service) a painless self-hosted Git Service written in Go" />
<meta name="keywords" content="go, git, self-hosted, gogs">
<meta name="_csrf" content="{{.CsrfToken}}" />
2014-08-29 03:32:52 -04:00
{{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
2014-07-26 00:24:27 -04:00
2014-09-19 20:11:34 -04:00
<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
2014-07-26 00:24:27 -04:00
2014-08-29 03:32:52 -04:00
{{if CdnMode}}
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
2014-08-29 03:32:52 -04:00
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
{{else}}
2014-09-19 20:11:34 -04:00
<link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css">
2014-08-29 03:32:52 -04:00
2014-09-19 20:11:34 -04:00
<script src="{{AppSubUrl}}/ng/js/lib/jquery-1.11.1.min.js"></script>
2014-08-29 03:32:52 -04:00
{{end}}
2014-07-26 00:24:27 -04:00
<!-- Stylesheet -->
2014-09-19 20:11:34 -04:00
<link rel="stylesheet" href="{{AppSubUrl}}/ng/css/ui.css">
<link rel="stylesheet" href="{{AppSubUrl}}/ng/css/gogs.css">
<link rel="stylesheet" href="{{AppSubUrl}}/ng/css/tipsy.css">
<link rel="stylesheet" href="{{AppSubUrl}}/ng/css/magnific-popup.css">
2014-09-19 20:11:34 -04:00
<link rel="stylesheet" href="{{AppSubUrl}}/ng/fonts/octicons.css">
<link rel="stylesheet" href="{{AppSubUrl}}/css/github.min.css">
2014-07-26 00:24:27 -04:00
<!-- JavaScript -->
2014-09-19 20:11:34 -04:00
<script src="{{AppSubUrl}}/ng/js/lib/lib.js"></script>
<script src="{{AppSubUrl}}/ng/js/lib/jquery.tipsy.js"></script>
<script src="{{AppSubUrl}}/ng/js/lib/jquery.magnific-popup.min.js"></script>
2014-09-25 09:52:58 -04:00
<script src="{{AppSubUrl}}/ng/js/utils/tabs.js"></script>
<script src="{{AppSubUrl}}/ng/js/utils/preview.js"></script>
2014-12-07 08:29:37 -05:00
<script src="{{AppSubUrl}}/ng/js/gogs/issue_label.js"></script>
2014-09-19 20:11:34 -04:00
<script src="{{AppSubUrl}}/ng/js/gogs.js"></script>
2014-07-26 00:24:27 -04:00
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>
<body>
<div id="wrapper">
<noscript>Please enable JavaScript in your browser!</noscript>