forgejo/templates/ng/base/head.tmpl

46 lines
2.1 KiB
Cheetah
Raw Normal View History

2014-07-26 08:24:27 +04:00
<!DOCTYPE html>
2015-08-03 22:27:07 +03:00
<html{{if .BrowserSupportsCopy}} class="is-copy-enabled"{{end}}>
<head data-suburl="{{AppSubUrl}}">
2014-07-26 08: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="referrer" content="no-referrer" />
<meta name="_csrf" content="{{.CsrfToken}}" />
{{if .GoGetImport}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
2014-07-26 08:24:27 +04:00
2014-09-20 04:11:34 +04:00
<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
2014-07-26 08:24:27 +04:00
2014-08-29 11: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 11:32:52 +04:00
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
{{else}}
2014-09-20 04:11:34 +04:00
<link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css">
2014-08-29 11:32:52 +04:00
2014-09-20 04:11:34 +04:00
<script src="{{AppSubUrl}}/ng/js/lib/jquery-1.11.1.min.js"></script>
2014-08-29 11:32:52 +04:00
{{end}}
2014-07-26 08:24:27 +04:00
<!-- Stylesheet -->
2014-09-20 04: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-20 04: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 08:24:27 +04:00
<!-- JavaScript -->
2014-09-20 04: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 17: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 16:29:37 +03:00
<script src="{{AppSubUrl}}/ng/js/gogs/issue_label.js"></script>
2014-09-20 04:11:34 +04:00
<script src="{{AppSubUrl}}/ng/js/gogs.js"></script>
2014-07-26 08:24:27 +04:00
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>
<body>
<div id="wrapper">
<noscript>Please enable JavaScript in your browser!</noscript>