head.tmpl 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <head{{if AppSubUrl}} data-suburl="{{AppSubUrl}}"{{end}}>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  8. <meta name="author" content="Gogs - Go Git Service" />
  9. <meta name="description" content="Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language" />
  10. <meta name="keywords" content="go, git">
  11. <meta name="_csrf" content="{{.CsrfToken}}" />
  12. {{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
  13. <!-- Stylesheets -->
  14. {{if CdnMode}}
  15. <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
  16. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
  17. <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
  18. <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
  19. {{else}}
  20. <link href="{{AppSubUrl}}/css/bootstrap.min.css" rel="stylesheet" />
  21. <link href="{{AppSubUrl}}/css/font-awesome.min.css" rel="stylesheet" />
  22. <script src="{{AppSubUrl}}/js/jquery-1.10.1.min.js"></script>
  23. <script src="{{AppSubUrl}}/js/bootstrap.min.js"></script>
  24. {{end}}
  25. <link href="{{AppSubUrl}}/css/todc-bootstrap.min.css" rel="stylesheet" />
  26. <link href="{{AppSubUrl}}/css/datepicker3.css" rel="stylesheet" />
  27. <link href="{{AppSubUrl}}/css/bootstrap-colorpicker.min.css" rel="stylesheet" />
  28. <link href="{{AppSubUrl}}/css/markdown.css" rel="stylesheet" />
  29. <link href="{{AppSubUrl}}/css/gogs.css" rel="stylesheet" />
  30. <script src="{{AppSubUrl}}/js/lib.js"></script>
  31. <script src="{{AppSubUrl}}/js/app.js"></script>
  32. <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
  33. </head>
  34. <body>
  35. <div id="wrapper">
  36. <noscript>Please enable JavaScript in your browser!</noscript>