gogs/templates/base/head.tmpl

41 lines
2.1 KiB
Cheetah
Raw Normal View History

2014-04-10 14:20:58 -04:00
<!DOCTYPE html>
<html>
<head{{if AppRootSubUrl}} data-suburl="{{AppRootSubUrl}}"{{end}}>
2014-04-10 14:20:58 -04:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="{{AppRootSubUrl}}/img/favicon.png" />
2014-04-10 14:20:58 -04:00
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="author" content="Gogs - Go Git Service" />
<meta name="description" content="Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language" />
<meta name="keywords" content="go, git">
<meta name="_csrf" content="{{.CsrfToken}}" />
2014-04-13 05:04:11 -04:00
{{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
2014-04-10 14:20:58 -04:00
<!-- Stylesheets -->
2014-04-27 03:05:13 -04:00
{{if CdnMode}}
2014-04-10 14:20:58 -04:00
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
2014-06-13 13:01:52 -04:00
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
2014-04-10 14:20:58 -04:00
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{else}}
<link href="{{AppRootSubUrl}}/css/bootstrap.min.css" rel="stylesheet" />
<link href="{{AppRootSubUrl}}/css/font-awesome.min.css" rel="stylesheet" />
2014-04-10 14:20:58 -04:00
<script src="{{AppRootSubUrl}}/js/jquery-1.10.1.min.js"></script>
<script src="{{AppRootSubUrl}}/js/bootstrap.min.js"></script>
2014-04-10 14:20:58 -04:00
{{end}}
<link href="{{AppRootSubUrl}}/css/todc-bootstrap.min.css" rel="stylesheet" />
<link href="{{AppRootSubUrl}}/css/datepicker3.css" rel="stylesheet" />
<link href="{{AppRootSubUrl}}/css/bootstrap-colorpicker.min.css" rel="stylesheet" />
<link href="{{AppRootSubUrl}}/css/markdown.css" rel="stylesheet" />
<link href="{{AppRootSubUrl}}/css/gogs.css" rel="stylesheet" />
2014-04-10 14:20:58 -04:00
<script src="{{AppRootSubUrl}}/js/lib.js"></script>
<script src="{{AppRootSubUrl}}/js/app.js"></script>
2014-04-10 14:20:58 -04:00
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>
<body>
<div id="wrapper">
<noscript>Please enable JavaScript in your browser!</noscript>