9 lines
273 B
Text
9 lines
273 B
Text
- unless @snippet.content.empty?
|
|
- if markup?(@snippet.file_name)
|
|
.file-content.wiki
|
|
= render_markup(@snippet.file_name, @snippet.data)
|
|
- else
|
|
= render 'shared/file_highlight', blob: @snippet
|
|
- else
|
|
.file-content.code
|
|
.nothing-here-block Empty file
|