reader: show desc if no content is available
parent
0e22bb4316
commit
690bf43977
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue