summaryrefslogtreecommitdiff
path: root/amber
diff options
context:
space:
mode:
Diffstat (limited to 'amber')
-rw-r--r--amber/layouts/_blog_summary.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/amber/layouts/_blog_summary.html.haml b/amber/layouts/_blog_summary.html.haml
index b14f6d0..58ab0d5 100644
--- a/amber/layouts/_blog_summary.html.haml
+++ b/amber/layouts/_blog_summary.html.haml
@@ -11,6 +11,9 @@
= time_tag(page.props.posted_at.to_date, :format => :long, :pubdate => true)
%div.content
- if page.props.preview
+ - if page.props.preview_image
+ .preview-img
+ %img{:src => page.props.preview_image}
= page.props.preview
- if page.props.more
= link(I18n.t(:read_more) => amber_path(page)) \ No newline at end of file