head.tmpl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head data-suburl="{{AppSubUrl}}">
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  6. <meta name="author" content="Gogs - Go Git Service" />
  7. <meta name="description" content="Gogs(Go Git Service) a painless self-hosted Git Service written in Go" />
  8. <meta name="keywords" content="go, git, self-hosted, gogs">
  9. <meta name="_csrf" content="{{.CsrfToken}}" />
  10. {{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
  11. <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
  12. {{if CdnMode}}
  13. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
  14. <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
  15. {{else}}
  16. <link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css">
  17. <script src="{{AppSubUrl}}/ng/js/lib/jquery-1.11.1.min.js"></script>
  18. {{end}}
  19. <!-- Stylesheet -->
  20. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/ui.css">
  21. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/gogs.css">
  22. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/tipsy.css">
  23. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/magnific-popup.css">
  24. <link rel="stylesheet" href="{{AppSubUrl}}/ng/fonts/octicons.css">
  25. <link rel="stylesheet" href="{{AppSubUrl}}/css/github.min.css">
  26. <!-- JavaScript -->
  27. <script src="{{AppSubUrl}}/ng/js/lib/lib.js"></script>
  28. <script src="{{AppSubUrl}}/ng/js/lib/jquery.tipsy.js"></script>
  29. <script src="{{AppSubUrl}}/ng/js/lib/jquery.magnific-popup.min.js"></script>
  30. <script src="{{AppSubUrl}}/ng/js/utils/tabs.js"></script>
  31. <script src="{{AppSubUrl}}/ng/js/utils/preview.js"></script>
  32. <script src="{{AppSubUrl}}/ng/js/gogs.js"></script>
  33. <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
  34. </head>
  35. <body>
  36. <div id="wrapper">
  37. <noscript>Please enable JavaScript in your browser!</noscript>