{* * 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'}{$page.meta.description}{/block} {block name='head_seo_keywords'}{$page.meta.keywords}{/block} {block name='content'}
{$category.name}

{$category.name} {$category.badge}

{if $category.short_description && $category.description}
{$category.short_description nofilter}
{$category.description nofilter}
{elseif $category.short_description}
{$category.short_description nofilter}
{elseif $category.description}
{$category.description nofilter}
{/if}
{if isset($sub_categories) && $sub_categories}

{l s='Sub-categories' mod='jxblog'}

{foreach from=$sub_categories item=sub_category name=sub_category} {/foreach}
{/if} {if $posts}
{include file="module:jxblog/views/templates/front/_partials/post-miniature.tpl"} {if $pagination} {include file="module:jxblog/views/templates/front/_partials/pagination.tpl"} {/if} {else}

{l s='There are no posts in the category' mod='jxblog'}

{/if}
{/block}