52 lines
1.4 KiB
HTML
52 lines
1.4 KiB
HTML
{extends file="layout.tpl"}
|
|
|
|
{* Body Class *}
|
|
{block name="body-class"}page-home{/block}
|
|
|
|
{* Page Title *}
|
|
{block name='no-return-functions' append}
|
|
{$page_title = {config key="store_name"}}
|
|
{/block}
|
|
|
|
{* Hide breadcrumb *}
|
|
{block name='breadcrumb'}{/block}
|
|
|
|
{* Main content *}
|
|
{block name="main-content"}
|
|
{hook name="home.body"}
|
|
{/block}
|
|
|
|
{block name="stylesheet"}
|
|
{hook name="home.stylesheet"}
|
|
{/block}
|
|
|
|
{block name="after-javascript-include"}
|
|
{hook name="home.after-javascript-include"}
|
|
{/block}
|
|
|
|
{block name="javascript-initialization"}
|
|
{hook name="home.javascript-initialization"}
|
|
{if {slider_revolution_countdown} > 0}
|
|
<script type="text/javascript" src="{url path="/"}revslider/plugins/countdown/revolution.addon.countdown.min.js"></script>
|
|
|
|
<script>
|
|
$(window).load(function() {
|
|
var targetdate = 1000 * parseInt("{slider_revolution_countdown}");
|
|
|
|
if (targetdate > 0) {
|
|
/*
|
|
// choose which slide to show at any given point in time
|
|
var slidechanges = [
|
|
{ days: 0, hours: 0, minutes: 0, seconds: 12, slide: 2 },
|
|
{ days: 0, hours: 0, minutes: 0, seconds: 0, slide: 3 }
|
|
];
|
|
*/
|
|
|
|
// initalize the countdown
|
|
tp_countdown(revapi20, targetdate, []);
|
|
}
|
|
});
|
|
</script>
|
|
{/if}
|
|
{/block}
|