gitroast/templates/ng/base/head.tmpl

41 lines
1.7 KiB
Cheetah
Raw Normal View History

2014-07-26 04:24:27 +00:00
<!DOCTYPE html>
<html>
<head data-suburl="{{AppSubUrl}}">
2014-07-26 04:24:27 +00: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 07:32:52 +00:00
{{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
2014-07-26 04:24:27 +00:00
2014-09-20 00:11:34 +00:00
<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
2014-07-26 04:24:27 +00:00
2014-08-29 07:32:52 +00:00
{{if CdnMode}}
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
2014-08-29 07:32:52 +00:00
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
{{else}}
2014-09-20 00:11:34 +00:00
<link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css">
2014-08-29 07:32:52 +00:00
2014-09-20 00:11:34 +00:00
<script src="{{AppSubUrl}}/ng/js/lib/jquery-1.11.1.min.js"></script>
2014-08-29 07:32:52 +00:00
{{end}}
2014-07-26 04:24:27 +00:00
<!-- Stylesheet -->
2014-09-20 00:11:34 +00: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">
2014-09-20 00:11:34 +00:00
<link rel="stylesheet" href="{{AppSubUrl}}/ng/fonts/octicons.css">
<link rel="stylesheet" href="{{AppSubUrl}}/css/github.min.css">
2014-07-26 04:24:27 +00:00
<!-- JavaScript -->
2014-09-20 00:11:34 +00:00
<script src="{{AppSubUrl}}/ng/js/lib/tabs.js"></script>
<script src="{{AppSubUrl}}/ng/js/lib/lib.js"></script>
<script src="{{AppSubUrl}}/ng/js/lib/jquery.tipsy.js"></script>
2014-09-20 00:11:34 +00:00
<script src="{{AppSubUrl}}/ng/js/gogs.js"></script>
2014-07-26 04:24:27 +00:00
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>
<body>
<div id="wrapper">
<noscript>Please enable JavaScript in your browser!</noscript>