2015-11-26 09:10:25 +08:00
|
|
|
{{template "base/head" .}}
|
2020-12-01 12:00:14 +08:00
|
|
|
<div class="page-content repository wiki start">
|
2015-11-26 09:10:25 +08:00
|
|
|
{{template "repo/header" .}}
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui center segment">
|
2020-02-12 01:02:41 +08:00
|
|
|
{{svg "octicon-book" 32}}
|
2015-12-08 06:30:52 +08:00
|
|
|
<h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
|
|
|
|
<p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
|
2018-11-28 19:26:14 +08:00
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
2015-12-08 06:30:52 +08:00
|
|
|
<a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-11-26 09:10:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
{{template "base/footer" .}}
|