description = "Static Layout" [session] security = "all" [staticPage] useContent = 0 default = 0 [searchInput] useAutoComplete = 1 autoCompleteResultCount = 4 showProviderBadge = 1 searchPage = "blog/search-posts.htm" [mailSignup] [account] paramCode = "code" forceSecure = 0 [localePicker] forceUrl = 0 [genericForm] rules[name] = "required" rules[email] = "required|email" rules[phone] = "required|number" messages_success = "Your form was successfully submitted" messages_errors = "There were errors with your submission" inline_errors = "disabled" allowed_fields[] = "name" allowed_fields[] = "email" allowed_fields[] = "subject" allowed_fields[] = "comments" allowed_fields[] = "phone" sanitize_data = "disabled" anonymize_ip = "disabled" recaptcha_theme = "light" recaptcha_type = "image" recaptcha_size = "normal" skip_database = 0 == page['apiBag']['staticPage']->getParent(); $url = $this->page['apiBag']['staticPage']['viewBag']['url']; $currentPage = null; if($parent) { $children = $parent->getChildren(); foreach( $children as $key => $page){ if($page['viewBag']['url'] == $url) $currentPage = $key; } // previous page if ( array_key_exists($currentPage - 1, $children) ) { $this['prev_url'] = $children[$currentPage - 1]['viewBag']['url']; $this['prev_title'] = $children[$currentPage -1 ]['viewBag']['title']; } if ( array_key_exists($currentPage + 1, $children) ) { $this['next_url'] = $children[$currentPage + 1]['viewBag']['url']; $this['next_title'] = $children[$currentPage + 1]['viewBag']['title']; } // parent page $this['parent_title'] = $parent['viewBag']['title']; $this['parent_url'] = $parent['viewBag']['url']; } } ?> == {% partial "site/meta" %} {% partial "site/css" %} {{ this.theme.advanced_analytics|raw }} {% if this.theme.addons_loader %} {% partial "site/loader" %} {% endif %}
{% partial "site/header" %} {repeater name="sections" groups="~/themes/ketikidis-creator/meta/blocks.yaml" tab="Blocks"} {variable name="_blocks" type="text"}{/variable} {/repeater} {% if this.theme.addons_pagenav %} {% partial "site/pagenav" %} {% endif %} {% for section in sections %} {% partial 'blocks/' ~ section._group data=section %} {% endfor %} {% page %} {% styles %} {% partial "site/footer" %} {% if this.theme.addons_scrolltop %} {% partial "site/scrolltop" %} {% endif %}
{% for fields in this.theme.header %} {% if fields._group == 'header_infobar' and fields.header_infobar_sidebar %} {% partial "site/sidebar" %} {% endif %} {% endfor %} {% for fields in this.theme.header %} {% if (fields._group == 'header_topbar' and fields.header_topbar_links_account) or (fields._group == 'header_navbar' and fields.header_navbar_btn == 'abtn' ) %} {% partial "site/modal" %} {% endif %} {% endfor %}
{% partial "site/scripts" %}