{strip} {$html_class_array = []} {$_color_scheme_class = 'color_scheme_'|cat:str_replace('img/themesettings/','',str_replace('.png','',$theme_settings.color_scheme))} {$_color_scheme = str_replace('img/themesettings/','',str_replace('.png','',$theme_settings.color_scheme))} {$_scheme_colors = ['white' => '#fff','yellow' => '#fb0','green' => '#6fb541','blue' => '#4e81cc','purple' => '#9a81b3','gray' => '#9c9c9c','pink' => '#e871b1','cyan' => '#3ac1bf','lime' => '#b5ce10','red' => '#cf2219']} {if $theme_settings.color_scheme}{$html_class_array[] = $_color_scheme_class}{/if} {if $theme_settings.font_size}{$html_class_array[] = $theme_settings.font_size}{/if} {if $theme_settings.font_family}{$html_class_array[] = $theme_settings.font_family}{/if} {if $wa->globals('isMyAccount')}{$html_class_array[] = 'my'}{/if} {if $wa->shop} {$_cart_url = $wa->getUrl('shop/frontend/order')} {/if} {$_is_order_page = $wa->globals("isOrderPage")} {if !empty($_is_order_page)} {$html_class_array[] = "is-order-page"} {/if} {/strip} {$_head_prefix = $wa->globals("headPrefix")} {$wa->title()|escape} {if $theme_settings['header_customcolor']} {/if} {if !empty($canonical)} {/if} {if $wa->blog} {$rss=$wa->blog->rssUrl()} {if $rss}{/if} {/if} {$wa->css()} {* links active plugins CSS *} {if !empty($theme_settings.font_family) && ($theme_settings.font_family != 'Trebuchet MS' || $theme_settings.font_family != 'Verdana' || $theme_settings.font_family != 'Georgia, Times')} {if $theme_settings.font_family == 'Fira Sans'}{$_real_font_name = 'Fira+Sans:400,500,700,400italic,500italic,700italic'}{/if} {if $theme_settings.font_family == 'Open Sans'}{$_real_font_name = 'Open+Sans:400,700,700italic,400italic'}{/if} {if $theme_settings.font_family == 'PT Sans'}{$_real_font_name = 'PT+Sans:400,700,700italic,400italic'}{/if} {if $theme_settings.font_family == 'PT Serif'}{$_real_font_name = 'PT+Serif:400,700,700italic,400italic'}{/if} {if $theme_settings.font_family == 'PT Sans Caption'}{$_real_font_name = 'PT+Sans+Caption:400,700|PT+Serif:400,700,700italic,400italic'}{/if} {if $theme_settings.font_family == 'Roboto'}{$_real_font_name = 'Roboto:400,700,700italic,400italic'}{/if} {if $theme_settings.font_family == 'Lora'}{$_real_font_name = 'Lora:400,700,700italic,400italic'}{/if} {if $theme_settings.font_family == 'Ubuntu'}{$_real_font_name = 'Ubuntu:400,700,700italic,400italic'}{/if} {/if} {$wa->js()} {* links active plugins JS *} {include file="`$wa_active_theme_path`/head.html" inline} {$wa->head()} {* links Google Analytics tracking code, site's custom JS (defined in Site app settings), and meta data such as Open Graph data *}
{include file="`$wa_active_theme_path`/main.html" inline}
{* admin-only slideout sidebar for nice and smooth real time theme customizations *} {if $theme_settings.admin_sidebar} {if $wa->user()->isAdmin()}{include file="admin-sidebar.html" inline}{/if} {/if}