2014-02-03 08:16:59 -05:00
|
|
|
- unless @snippet.content.empty?
|
2015-05-12 19:54:13 -04:00
|
|
|
- if markup?(@snippet.file_name)
|
2014-02-03 08:16:59 -05:00
|
|
|
.file-content.wiki
|
|
|
|
= render_markup(@snippet.file_name, @snippet.data)
|
|
|
|
- else
|
|
|
|
.file-content.code
|
2014-12-03 09:27:31 -05:00
|
|
|
= render 'shared/file_highlight', blob: @snippet
|
2014-02-03 08:16:59 -05:00
|
|
|
- else
|
|
|
|
.file-content.code
|
2014-02-20 06:51:22 -05:00
|
|
|
.nothing-here-block Empty file
|