From 690bf43977ed10291e3889cdd3462c6f0328ef08 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 26 Oct 2014 19:22:57 +0100 Subject: [PATCH] reader: show desc if no content is available --- morss/reader.html.template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/morss/reader.html.template b/morss/reader.html.template index cc7d1b5..1e6deef 100644 --- a/morss/reader.html.template +++ b/morss/reader.html.template @@ -27,7 +27,13 @@ @else: @item.title @end -
@item.content
+
+ @if item.content: + @item.content + @else: + @item.desc + @end +
@end