mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 12:22:55 -05:00
da2585c11e
This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
15 lines
502 B
Cheetah
15 lines
502 B
Cheetah
{{template "base/head" .}}
|
|
<div class="repository wiki start">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="ui center segment">
|
|
<span class="mega-octicon octicon-book"></span>
|
|
<h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
|
|
<p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
|
|
{{if .IsRepositoryPusher}}
|
|
<a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|