|
|
{* $Id$ *}
|
|
|
{if strlen($blog_data.post_heading) > 0 and $prefs.feature_blog_heading eq 'y'}
|
|
|
{eval var=$blog_data.post_heading}
|
|
|
{else}
|
|
|
{include file='blog_post_heading.tpl'}
|
|
|
{/if}
|
|
|
<article class="card blogpost post post_single">
|
|
|
{include file='blog_wrapper.tpl' blog_post_context='view_blog_post'}
|
|
|
</article>
|
|
|
{include file='blog_post_related_content.tpl'}
|
|
|
{if $prefs.feature_blogposts_comments == 'y' && $blog_data.allow_comments == 'y'
|
|
|
&& ($tiki_p_read_comments == 'y'
|
|
|
|| $tiki_p_post_comments == 'y'
|
|
|
|| $tiki_p_edit_comments == 'y')}
|
|
|
<div id="comment-container" data-bs-target="{service controller=comment action=list type="blog post" objectId=$postId}"></div>
|
|
|
{jq}
|
|
|
var id = '#comment-container';
|
|
|
$(id).comment_load($(id).data('bs-target'));
|
|
|
$(document).ajaxComplete(function(){$(id).tiki_popover();});
|
|
|
{/jq}
|
|
|
{/if}
|