32ecb02784
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
13 lines
337 B
Text
13 lines
337 B
Text
- if gitlab_markdown?(blob.name)
|
|
.file-content.wiki
|
|
= preserve do
|
|
= markdown(blob.data)
|
|
- elsif markup?(blob.name)
|
|
.file-content.wiki
|
|
= render_markup(blob.name, blob.data)
|
|
- else
|
|
.file-content.code
|
|
- unless blob.empty?
|
|
= render 'shared/file_hljs', blob: blob
|
|
- else
|
|
.nothing-here-block Empty file
|