{* * 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.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 !empty($settings.show_readmore)} {/if}
{/if} {if !empty($settings.show_date) || !empty($settings.show_author) || !empty($settings.show_views) || !empty($settings.show_comments) || !empty($settings.show_tags)}
{$has_author_or_date = !empty($settings.show_date) || !empty($settings.show_author)} {if !empty($settings.show_tags) && !empty($post.tags)}
{include file = $tags_tpl_path tags = $post.tags fill = false}
{/if} {if !empty($settings.show_date)} {if $post.publish_from == $blog->empty_date}{$post.publish_from = $post.date_add}{/if} {$post.publish_from|date_format|escape:'html':'UTF-8'} {/if} {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}
{* since 1.3.0 *}