1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
This commit is contained in:
slene
2014-03-20 21:10:37 +08:00
parent c6bd723ce1
commit de956c4776
6 changed files with 82 additions and 13 deletions

View File

@@ -16,8 +16,15 @@
{{.FileContent|str2html}}
</div>
{{else}}
<div class="panel-body file-body file-code markdown">
<pre class="linenums"><code>{{.FileContent}}</code></pre>
<div class="panel-body file-body file-code">
<table>
<tbody>
<tr>
<td class="lines-num"></td>
<td class="lines-code markdown"><pre class="linenums lang-{{.FileExt}}"><code>{{.FileContent}}</code></pre></td>
</tr>
</tbody>
</table>
</div>
{{end}}
{{end}}