forkjo/templates/ng/base/head.tmpl

39 lines
1.7 KiB
Cheetah
Raw Normal View History

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