|
|
@ -24,7 +24,7 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="{{if .ReadmeExist}}markdown{{else if .IsFileText}}code-view{{end}}"> |
|
|
|
<div class="file-view {{if .ReadmeExist}}markdown{{else if .IsFileText}}code-view{{end}}"> |
|
|
|
{{if .ReadmeExist}} |
|
|
|
{{if .ReadmeExist}} |
|
|
|
{{if .FileContent}}{{.FileContent | Str2html}}{{end}} |
|
|
|
{{if .FileContent}}{{.FileContent | Str2html}}{{end}} |
|
|
|
{{else if not .IsFileText}} |
|
|
|
{{else if not .IsFileText}} |
|
|
|