{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.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/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file='page.tpl'} {block name='page_header_container'} {/block} {block name='hook_after_body_opening_tag' append}{strip} {if Configuration::get('PH_BLOG_FB_INIT')}
{/if} {/strip}{/block} {block name='head_seo' prepend} {/block} {block name='head_seo_title'}{strip} {if !empty($post->meta_title)} {$post->meta_title} - {$page.meta.title} {else} {$post->title} - {$page.meta.title} {/if} {/strip}{/block} {if !empty($post->meta_description)} {block name='head_seo_description'}{$post->meta_description}{/block} {/if} {if !empty($post->meta_keywords)} {block name='head_seo_keywords'}{$post->meta_keywords}{/block} {/if} {block name='page_content'} {assign var='post_type' value=$post->post_type}
{if $post->featured_image} {$post->title} {/if}
{$post->content nofilter} {if $post_type == 'gallery' && sizeof($post->gallery)}
{foreach $post->gallery as $image} {/foreach}
{elseif $post_type == 'video'}
{$post->video_code nofilter}
{/if}
{hook h='displayPrestaHomeBlogAfterPostContent'}
{if Configuration::get('PH_BLOG_DISPLAY_SHARER')}

{l s='Share this post' mod='ph_simpleblog'}

{/if} {if Configuration::get('PH_BLOG_DISPLAY_RELATED') && $related_products} {include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-single-related-products.tpl"} {/if} {if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'native'} {include file="module:ph_simpleblog/views/templates/front/1.7/comments/layout.tpl"} {/if} {if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'facebook'} {include file="module:ph_simpleblog/views/templates/front/1.7/comments/facebook.tpl"} {/if} {if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'disqus'} {include file="module:ph_simpleblog/views/templates/front/1.7/comments/disqus.tpl"} {/if} {/block}