reader: show desc if no content is available

master
pictuga 2014-10-26 19:22:57 +01:00
parent 0e22bb4316
commit 690bf43977
1 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,13 @@
@else:
<span class="title">@item.title</span>
@end
<div class="article">@item.content</div>
<div class="article">
@if item.content:
@item.content
@else:
@item.desc
@end
</div>
</div>
</div>
@end