head.tmpl 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!DOCTYPE html>
  2. <html{{if .BrowserSupportsCopy}} class="is-copy-enabled"{{end}}>
  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="referrer" content="no-referrer" />
  10. <meta name="_csrf" content="{{.CsrfToken}}" />
  11. {{if .GoGetImport}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
  12. <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
  13. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/font-awesome.min.css">
  14. <script src="{{AppSubUrl}}/ng/js/lib/jquery-1.11.1.min.js"></script>
  15. <!-- Stylesheet -->
  16. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/ui.css">
  17. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/gogs.css">
  18. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/tipsy.css">
  19. <link rel="stylesheet" href="{{AppSubUrl}}/ng/css/magnific-popup.css">
  20. <link rel="stylesheet" href="{{AppSubUrl}}/ng/fonts/octicons.css">
  21. <link rel="stylesheet" href="{{AppSubUrl}}/css/github.min.css">
  22. <!-- JavaScript -->
  23. <script src="{{AppSubUrl}}/ng/js/lib/lib.js"></script>
  24. <script src="{{AppSubUrl}}/ng/js/lib/jquery.tipsy.js"></script>
  25. <script src="{{AppSubUrl}}/ng/js/lib/jquery.magnific-popup.min.js"></script>
  26. <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
  27. <script src="{{AppSubUrl}}/ng/js/utils/tabs.js"></script>
  28. <script src="{{AppSubUrl}}/ng/js/utils/preview.js"></script>
  29. <script src="{{AppSubUrl}}/ng/js/gogs/issue_label.js"></script>
  30. <script src="{{AppSubUrl}}/ng/js/gogs.js"></script>
  31. <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
  32. </head>
  33. <body>
  34. <div id="wrapper">
  35. <noscript>Please enable JavaScript in your browser!</noscript>