{* * 2007-2017 Amazzing * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * * @author Amazzing * @copyright 2007-2017 Amazzing * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * *} {$link = $blog->getPostLink($post.id_post, $post.link_rewrite)}
{if !empty($settings.cover_type)} {$cover_src = $blog->getImgSrc('post', $post.id_post, $settings.cover_type, $post.cover)} {if !empty($cover_src)}
{if !empty($settings.link_cover)}{/if} {$post.title|escape:'html':'UTF-8'} {if !empty($settings.link_cover)}{/if}
{/if} {/if} {if !empty($settings.show_date)} {if $post.publish_from == $blog->empty_date}{$post.publish_from = $post.date_add}{/if} {$split_date = $blog->prepareDate($post.publish_from)}
{foreach $split_date as $i => $fragment}
{$fragment|escape:'html':'UTF-8'}
{/foreach}
{/if} {if !empty($settings.title_truncate)}

{if !empty($settings.link_title)}{/if} {$post.title|truncate:$settings.title_truncate:'...'|escape:'html':'UTF-8'} {if !empty($settings.link_title)}{/if}

{/if} {if !empty($settings.truncate)}
{$post.content|strip_tags|truncate:$settings.truncate:'...'|escape:'html':'UTF-8'}
{/if} {if !empty($settings.show_author) || !empty($settings.show_views) || !empty($settings.show_comments) || !empty($settings.show_readmore) || !empty($settings.show_tags)}
{if !empty($settings.show_author)} {$post.firstname|escape:'html':'UTF-8'} {$post.lastname|escape:'html':'UTF-8'} {/if} {if !empty($settings.show_views)} {$post.views|intval} {/if} {if !empty($settings.show_comments)} {$post.comments|intval} {/if} {if !empty($settings.show_tags) && !empty($post.tags)} {include file = $tags_tpl_path tags = $post.tags} {/if}
{if !empty($settings.truncate) && !empty($settings.show_readmore)} {l s='Read more' mod='amazzingblog'} {/if}
{/if}
{* since 1.3.0 *}