head.tmpl 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!-- Custom CSS overrides -->
  2. <link rel="stylesheet" href="/css/dark-gogs.css?v=2">
  3. {{if or .PageIsExploreRepositories (or .PageIsHome .PageIsWiki) }}
  4. <meta name="robots" content="nofollow"/>
  5. {{else if .PageIsViewFiles }}
  6. <meta name="robots" content="noindex,nofollow"/>
  7. {{else}}
  8. <meta name="robots" content="noindex,nofollow"/>
  9. {{end}}
  10. <!-- Front page cursive font -->
  11. <link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
  12. <!-- twitterish -->
  13. <meta name="twitter:card" content="summary" />
  14. <meta name="twitter:site" content="@gnode" />
  15. <meta name="twitter:title" content="GIN" />
  16. <meta name="twitter:description" content="Modern Research Data Management for Neuroscience"/>
  17. <meta name="twitter:image" content="https://web.gin.g-node.org/img/favicon.png" />
  18. <!-- markup editor libs -->
  19. {{if or .IsYAML .IsJSON}}
  20. <script src="{{AppSubURL}}/js/libs/jsoneditor.min.js"></script>
  21. <link rel="stylesheet" href="{{AppSubURL}}/css/jsoneditor/jsoneditor.min.css"/>
  22. <script src="{{AppSubURL}}/js/libs/yaml.min.js"></script>
  23. {{end}}
  24. {{if .IsODML}}
  25. <script type="text/javascript" src="{{AppSubURL}}/plugins/xonomy/xonomy.js"></script>
  26. <link type="text/css" rel="stylesheet" href="{{AppSubURL}}/plugins/xonomy/xonomy.css"/>
  27. <script src="{{AppSubURL}}/js/libs/jstree.min.js"></script>
  28. <link rel="stylesheet" href="{{AppSubURL}}/css/jstree/jstree.css">
  29. {{end}}
  30. <!-- Cookie notice -->
  31. {{if not .PageIsInstall}}
  32. <script src="{{AppSubURL}}/js/libs/js.cookie.js"></script>
  33. <div class="ui inline cookie nag">
  34. <span class="title">We use cookies to ensure you get the best experience on our website</span>
  35. <i class="nag close icon"></i>
  36. </div>
  37. {{end}}