2015-05-12 23:54:13 +00:00
|
|
|
- if markup?(blob.name)
|
2013-07-13 06:52:47 +00:00
|
|
|
.file-content.wiki
|
2014-01-08 14:32:03 +00:00
|
|
|
= render_markup(blob.name, blob.data)
|
2012-10-15 18:56:58 +00:00
|
|
|
- else
|
2013-07-13 06:52:47 +00:00
|
|
|
.file-content.code
|
2012-10-15 18:56:58 +00:00
|
|
|
- unless blob.empty?
|
2014-12-03 14:27:31 +00:00
|
|
|
= render 'shared/file_highlight', blob: blob
|
2012-10-15 18:56:58 +00:00
|
|
|
- else
|
2014-02-20 11:51:22 +00:00
|
|
|
.nothing-here-block Empty file
|