You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
1.4 KiB

  1. {{define "Head"}}<title>GoDoc</title>
  2. {{/* <link type="application/opensearchdescription+xml" rel="search" href="/-/opensearch.xml?v={{fileHash "templates/opensearch.xml"}}"/> */}}{{end}}
  3. {{define "Body"}}
  4. <div class="jumbotron">
  5. <h2>Search for Go Packages</h2>
  6. {{template "SearchBox" ""}}
  7. </div>
  8. <p>GoDoc hosts documentation for <a href="http://golang.org/">Go</a> packages
  9. on Bitbucket, GitHub, Google Project Hosting and Launchpad. Read the <a
  10. href="/-/about">About Page</a> for information about adding packages to GoDoc
  11. and more.
  12. <div class="row">
  13. <div class="col-sm-6">
  14. {{with .Popular}}
  15. <h4>Popular Packages</h4>
  16. <ul class="list-unstyled">
  17. {{range .}}<li><a href="/{{.Path}}">{{.Path}}</a>{{end}}
  18. </ul>
  19. {{end}}
  20. </div>
  21. <div class="col-sm-6">
  22. <h4>More Packages</h4>
  23. <ul class="list-unstyled">
  24. <li><a href="/-/go">Go Standard Packages</a>
  25. <li><a href="/-/subrepo">Go Sub-repository Packages</a>
  26. <li><a href="https://golang.org/wiki/Projects">Projects @ go-wiki</a>
  27. <li><a href="https://github.com/search?o=desc&amp;q=language%3Ago&amp;s=stars&amp;type=Repositories">Most stars</a>,
  28. <a href="https://github.com/search?o=desc&amp;q=language%3Ago&amp;s=forks&amp;type=Repositories">most forks</a>,
  29. <a href="https://github.com/search?o=desc&amp;q=language%3Ago&amp;s=updated&amp;type=Repositories">recently updated</a> on GitHub
  30. </ul>
  31. </div>
  32. </div>
  33. {{end}}