{* * 2017-2018 Zemez * * JX Blog * * NOTICE OF LICENSE * * This source file is subject to the General Public License (GPL 2.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/GPL-2.0 * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade the module to newer * versions in the future. * * @author Zemez (Alexander Grosul) * @copyright 2017-2018 Zemez * @license http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0) *} {extends file=$layout} {block name='head_seo_description'}{$post.meta_description}{/block} {block name='head_seo_keywords'}{$post.meta_keyword}{/block} {block name='content'}
{if $post} {block name='blog_post_header'}

{$post.name}

{/block}

{l s='Posted on %date% at %time% [0]by [1"]%link%["1]%name%[/1][/0]' sprintf=[ '%date%' => {$post.date_start|date_format}, '%time%' => {$post.date_start|date_format:"%H:%M"}, '%link%' => {url entity='module' name='jxblog' controller='author' params = ['author' => $post.id_author]}, '%name%' => {$post.author}, '[0]' => '', '[1"]' => ' '">', '[/1]' => '' ] d='Shop.Theme.Global' }{if $displayViews && $post.views} - {l s='Views' mod='jxblog'} ({$post.views}){/if}

{$post.name}
{if $post.description}
{$post.description nofilter}
{/if} {if $tags}
{l s='Tagged' mod='jxblog'} {foreach from=$tags item='tag' name="tag"} {$tag.tag}{if !$smarty.foreach.tag.last},{/if} {/foreach}
{/if}
{hook h="displayJXBlogPostFooter" post=$post} {else}

{l s='Post doesn\'t exist or you don\'t have permissions to access it.' mod='jxblog'}

{/if}
{/block}