{* * 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='content'}
{block name='blog_categories_header'}

{l s='Blog categories' mod='jxblog'}

{/block} {if $categories}
{foreach from=$categories item='category'} {block name='blog_category_miniature'}

{$category.name}

{if $category.short_description}
{$category.short_description nofilter}
{/if}
{/block} {/foreach}
{if Configuration::get('JXBLOG_DISPLAY_PRODUCTS_ON_BLOG_PAGE') && $posts}
{block name='blog_posts_header'}

{l s='Blog posts' mod='jxblog'}

{/block} {include file="module:jxblog/views/templates/front/_partials/post-miniature.tpl"} {if $pagination} {include file="module:jxblog/views/templates/front/_partials/pagination.tpl"} {/if} {/if} {else} {l s='There are no categories in the blog yet' mod='jxblog'} {/if}
{/block}