head.tmpl 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 .GoGetImport}}<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/issue_label.js"></script>
  33. <script src="{{AppSubUrl}}/ng/js/gogs.js"></script>
  34. <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
  35. </head>
  36. <body>
  37. <div id="wrapper">
  38. <noscript>Please enable JavaScript in your browser!</noscript>