blob: d26a99bb14c86b13b6db3a4b6d77ac08a1f3c28b (
plain)
1
2
3
4
5
6
7
8
9
10
|
- unless @snippet.content.empty?
- if markup?(@snippet.file_name)
.file-content.wiki
= render_markup(@snippet.file_name, @snippet.data)
- else
.file-content.code
= render 'shared/file_highlight', blob: @snippet
- else
.file-content.code
.nothing-here-block Empty file
|