diff options
author | elijah <elijah@riseup.net> | 2015-03-14 15:11:23 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-03-14 15:11:23 -0700 |
commit | 9e6656f1ca3c0aee872e359f8683255544a7b3e7 (patch) | |
tree | 0ae50b6e433afa8336f3d0091429793a860b5076 /amber | |
parent | 6399f7df915ebd9241d253603baf7ae5c1d22812 (diff) |
added better display of preview image
Diffstat (limited to 'amber')
-rw-r--r-- | amber/layouts/_blog_summary.html.haml | 3 |
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 |