summaryrefslogtreecommitdiff
path: root/templates/view_blog_post.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/view_blog_post.tpl')
-rw-r--r--templates/view_blog_post.tpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index a2d6a83..3f415d6 100644
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -90,8 +90,15 @@
ondblclick="location.href='{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$post_info.blog_id}&post_id={$post_info.post_id}';"
{/if}
>
- <div class="content">
+ <div class="content">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$post_info}
+
+ {* deal with the blog post image if there is one *}
+ {if $post_info.thumbnail_url}
+ <div class="image">
+ {jspopup notra=1 href=$post_info.thumbnail_url.original alt=$post_info.title|escape title=$post_info.title|escape" img=$post_info.thumbnail_url.medium}
+ </div>
+ {/if}
{$parsed_data}
</div> <!-- end .content -->