show readme.md

This commit is contained in:
slene
2014-03-17 18:46:54 +08:00
parent 26f9962b6e
commit 5bc2a1a6f9
4 changed files with 101 additions and 17 deletions

View File

@ -87,9 +87,15 @@
<div class="panel-heading file-head">
<i class="icon fa fa-book"></i> README.md
</div>
<div class="panel-body file-body markdown">
markdown content
</div>
{{if .FileIsLarge}}
<div class="panel-footer">
Large file size 1000kb
</div>
{{else}}
<div class="panel-body file-body markdown">
{{.ReadmeContent|str2html}}
</div>
{{end}}
</div>
</div>
</div>