start.tmpl 533 B

123456789101112131415
  1. {{template "base/head" .}}
  2. <div class="repository wiki start">
  3. {{template "repo/header" .}}
  4. <div class="ui container">
  5. <div class="ui center segment">
  6. <span class="mega-octicon octicon-book"></span>
  7. <h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
  8. <p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
  9. {{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
  10. <a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
  11. {{end}}
  12. </div>
  13. </div>
  14. </div>
  15. {{template "base/footer" .}}