Extract tree/readme partial

This commit is contained in:
Riyad Preukschas 2012-10-15 20:51:03 +02:00
parent 5cff72ad1e
commit 1f4d8eac24
2 changed files with 13 additions and 12 deletions

View file

@ -0,0 +1,10 @@
.file_holder#README
.file_title
%i.icon-file
= readme.name
.file_content.wiki
- if gitlab_markdown?(readme.name)
= preserve do
= markdown(readme.data)
- else
= raw GitHub::Markup.render(readme.name, readme.data)