forked from brooksbingham/theme-elegance
refactor: add the missing blocks
parent
edd6bf4816
commit
a89f94b278
|
@ -37,29 +37,27 @@
|
||||||
{hook h='displayAfterBodyOpeningTag'}
|
{hook h='displayAfterBodyOpeningTag'}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<main>
|
|
||||||
{block name='product_activation'}
|
{block name='product_activation'}
|
||||||
{include file='catalog/_partials/product-activation.tpl'}
|
{include file='catalog/_partials/product-activation.tpl'}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<header id="header">
|
<header class="relative z-30 flex items-center w-full">
|
||||||
{block name='header'}
|
{block name='header'}
|
||||||
{include file='_partials/header.tpl'}
|
{include file='_partials/header.tpl'}
|
||||||
{/block}
|
{/block}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{block name='notifications'}
|
{block name='displayBeforeWrapper'}
|
||||||
{include file='_partials/notifications.tpl'}
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<section id="wrapper">
|
<section class="container mx-auto">
|
||||||
{hook h="displayWrapperTop"}
|
|
||||||
<div class="container mx-auto px-4 md:px-0">
|
|
||||||
{if $page.page_name !== 'index'}
|
|
||||||
{block name='breadcrumb'}
|
{block name='breadcrumb'}
|
||||||
{include file='_partials/breadcrumb.tpl'}
|
{include file='_partials/breadcrumb.tpl'}
|
||||||
{/block}
|
{/block}
|
||||||
{/if}
|
|
||||||
|
{block name='wrapperTop'}
|
||||||
|
{hook h="displayWrapperTop"}
|
||||||
|
{/block}
|
||||||
|
|
||||||
{block name="left_column"}
|
{block name="left_column"}
|
||||||
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
|
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
|
||||||
|
@ -72,7 +70,7 @@
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="content_wrapper"}
|
{block name="content_wrapper"}
|
||||||
<div id="content-wrapper" class="flex flex-col gap-8">
|
<div id="content-wrapper" class="flex w-full">
|
||||||
{hook h="displayContentWrapperTop"}
|
{hook h="displayContentWrapperTop"}
|
||||||
{block name="content"}
|
{block name="content"}
|
||||||
<p>Hello world! This is HTML5 Boilerplate.</p>
|
<p>Hello world! This is HTML5 Boilerplate.</p>
|
||||||
|
@ -90,18 +88,21 @@
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
</div>
|
|
||||||
|
{block name='wrapperBottom'}
|
||||||
{hook h="displayWrapperBottom"}
|
{hook h="displayWrapperBottom"}
|
||||||
|
{/block}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer id="footer">
|
{block name='displayAfterWrapper'}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
<footer id="footer" class="relative pt-20 lg:pt-24">
|
||||||
{block name="footer"}
|
{block name="footer"}
|
||||||
{include file="_partials/footer.tpl"}
|
{include file="_partials/footer.tpl"}
|
||||||
{/block}
|
{/block}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
{block name='javascript_bottom'}
|
{block name='javascript_bottom'}
|
||||||
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
|
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
Loading…
Reference in New Issue