summaryrefslogtreecommitdiffstats
path: root/templates/ng/base/head.tmpl
blob: 815453446a345277dc09e1b006abc89532d1464c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
	<head>
		<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}}" />
		{{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}

		<link rel="shortcut icon" href="/img/favicon.png" />

		{{if CdnMode}}
		<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">

		<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
		{{else}}
		<link rel="stylesheet" href="/css/font-awesome.min.css">
		
		<script src="/ng/js/lib/jquery-1.11.1.min.js"></script>
		{{end}}
		<!-- Stylesheet -->
		<link rel="stylesheet" href="/ng/css/ui.css">
		<link rel="stylesheet" href="/ng/css/gogs.css">
		<link rel="stylesheet" href="/ng/fonts/octicons.css">
		<link rel="stylesheet" href="/css/github.min.css">

		<!-- JavaScript -->
		<script src="/ng/js/lib/tabs.js"></script>
    	<script src="/ng/js/lib/lib.js"></script>
		<script src="/ng/js/gogs.js"></script>

		<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
	</head>
	<body>
		<div id="wrapper">
		<noscript>Please enable JavaScript in your browser!</noscript>