1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 05:18:29 +00:00

Refactor wiki (#34805)

Remove unclear code
This commit is contained in:
wxiaoguang
2025-06-22 18:53:33 +08:00
committed by GitHub
parent 94c6d46faa
commit f114c388ff
12 changed files with 71 additions and 173 deletions

View File

@@ -18,7 +18,7 @@
{{ctx.Locale.Tr "repo.wiki.page_name_desc"}}
</div>
{{$content := .content}}
{{$content := .WikiEditContent}}
{{if not .PageIsWikiEdit}}
{{$content = ctx.Locale.Tr "repo.wiki.welcome"}}
{{end}}