{* To modify and rearrange content blocks in your storefront pages or change the page structure, use the layout editor under Design->Layouts in your admin panel. There, you can: * modify the page layout * make it fluid or static * set the number of columns * add, remove, and move blocks * change block templates and types and more. You only need to edit a .tpl file to create a new template or modify an existing one; often, this is not the case. Basic layouting concepts: This theme uses the Twitter Bootstrap 2.3 CSS framework. A layout consists of four containers (CSS class .container): TOP PANEL, HEADER, CONTENT, and FOOTER. Containers are partitioned with fixed-width grids (CSS classes .span1, .span2, etc.). Content blocks live inside grids. You can drag'n'drop blocks from grid to grid in the layout editor. A block represents a certain content type (e.g. products) and uses a certain template to display it (e.g. list with thumbnails). *}
{capture name="page_title"} {hook name="index:title"} {if $page_title} {$page_title} {else} {if $language_direction == "rtl"} {if $breadcrumbs} {foreach from=$breadcrumbs|array_reverse item=i name="bkt"} {if !$smarty.foreach.bkt.last}{if !$smarty.foreach.bkt.last && !$smarty.foreach.bkt.first} :: {/if}{$i.title|strip_tags}{/if} {/foreach} {/if} {else} {foreach from=$breadcrumbs item=i name="bkt"} {if !$smarty.foreach.bkt.first}{$i.title|strip_tags}{if !$smarty.foreach.bkt.last} :: {/if}{/if} {/foreach} {/if} {if !$skip_page_title && $location_data.title}{if $breadcrumbs|count > 1} - {/if}{$location_data.title}{/if} {/if} {/hook} {/capture}