185 lines
6.8 KiB
HTML
185 lines
6.8 KiB
HTML
title = "Главная"
|
||
url = "/"
|
||
layout = "master"
|
||
is_hidden = 0
|
||
robot_index = "index"
|
||
robot_follow = "follow"
|
||
|
||
[viewBag]
|
||
localeTitle[en] = "Home"
|
||
|
||
[blogCategories]
|
||
slug = "{{ :slug }}"
|
||
displayEmpty = 0
|
||
categoryPage = "category"
|
||
|
||
[adverts adv_center_1]
|
||
code = "bank"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts adv_center_2]
|
||
code = "bottom"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts adv_center_3]
|
||
code = "cnpc"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts adv_center_4]
|
||
code = "china-daily"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts adv_center_5]
|
||
code = "very-bottom"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts right_top]
|
||
code = "right-top"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts right_middle]
|
||
code = "right-middle"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts right_bottom]
|
||
code = "right-bottom"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts right_top_m]
|
||
code = "right-top"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts right_middle_m]
|
||
code = "right-middle"
|
||
type = "slider"
|
||
random = 0
|
||
|
||
[adverts right_bottom_m]
|
||
code = "right-bottom"
|
||
type = "slider"
|
||
random = 0
|
||
==
|
||
<section class="hero">
|
||
<div class="auto__container">
|
||
<div class="hero__inner">
|
||
{% partial 'slider' %}
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- main start
|
||
================================================ -->
|
||
<section class="main">
|
||
<div class="auto__container">
|
||
<div class="main__inner">
|
||
<div class="main__content">
|
||
<div class="main__banner">
|
||
{% component 'adv_center_1' %}
|
||
</div>
|
||
<!-- event start ================================================ -->
|
||
{% partial 'index/top_section' category = blogCategories.categories.shift %}
|
||
<!-- event end ================================================ -->
|
||
<div class="main__banner">
|
||
{% component 'adv_center_2' %}
|
||
</div>
|
||
<div class="main__body">
|
||
<div class="main__body-row">
|
||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||
<div class="banner__mobile">
|
||
{% component 'right_top_m' css_class= 'main__sidebar-adv' %}
|
||
</div>
|
||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||
</div>
|
||
</div>
|
||
<div class="main__banner">
|
||
{% component 'adv_center_3' %}
|
||
</div>
|
||
<div class="main__body">
|
||
<div class="main__body-row">
|
||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||
<div class="banner__mobile">
|
||
{% component 'right_middle_m' css_class = 'main__sidebar-adv' %}
|
||
</div>
|
||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||
</div>
|
||
</div>
|
||
<div class="main__banner">
|
||
{% component 'adv_center_4' %}
|
||
</div>
|
||
<div class="main__body">
|
||
<div class="main__body-row">
|
||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||
<div class="banner__mobile">
|
||
{% component 'right_bottom_m' css_class= 'main__sidebar-adv' %}
|
||
</div>
|
||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||
</div>
|
||
</div>
|
||
<div class="main__banner">
|
||
{% component 'adv_center_5' %}
|
||
</div>
|
||
|
||
</div>
|
||
<div class="main__sidebar">
|
||
{% partial 'sidebar__cards' %}
|
||
{% component 'right_top' css_class= 'main__sidebar-adv' %}
|
||
{% partial 'tags' %}
|
||
{% component 'right_middle' css_class = 'main__sidebar-adv' %}
|
||
{% partial 'calendar' %}
|
||
{% component 'right_bottom' css_class= 'main__sidebar-adv' %}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<div class="searchModal" id="searchModal">
|
||
<div class="searchModal__inner">
|
||
<div class="searchClose" id="searchClose">
|
||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
|
||
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 492 492"
|
||
style="enable-background:new 0 0 492 492;" xml:space="preserve">
|
||
<g>
|
||
<g>
|
||
<path d="M300.188,246L484.14,62.04c5.06-5.064,7.852-11.82,7.86-19.024c0-7.208-2.792-13.972-7.86-19.028L468.02,7.872
|
||
c-5.068-5.076-11.824-7.856-19.036-7.856c-7.2,0-13.956,2.78-19.024,7.856L246.008,191.82L62.048,7.872
|
||
c-5.06-5.076-11.82-7.856-19.028-7.856c-7.2,0-13.96,2.78-19.02,7.856L7.872,23.988c-10.496,10.496-10.496,27.568,0,38.052
|
||
L191.828,246L7.872,429.952c-5.064,5.072-7.852,11.828-7.852,19.032c0,7.204,2.788,13.96,7.852,19.028l16.124,16.116
|
||
c5.06,5.072,11.824,7.856,19.02,7.856c7.208,0,13.968-2.784,19.028-7.856l183.96-183.952l183.952,183.952
|
||
c5.068,5.072,11.824,7.856,19.024,7.856h0.008c7.204,0,13.96-2.784,19.028-7.856l16.12-16.116
|
||
c5.06-5.064,7.852-11.824,7.852-19.028c0-7.204-2.792-13.96-7.852-19.028L300.188,246z" />
|
||
</g>
|
||
</g>
|
||
</svg>
|
||
</div>
|
||
<div class="searchLogo">
|
||
<img src="{{'assets/images/logo.svg'|theme}}" alt="orient logo">
|
||
</div>
|
||
<div class="searchInput">
|
||
<form action="{{ 'search' | page }}" method="get">
|
||
<input type="searh" name="q" placeholder="{{'page.search'|_}}">
|
||
<button class="searchInput__btn">
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="20.414" height="20.414" viewBox="0 0 20.414 20.414">
|
||
<g id="Иконка_Поиск_" data-name="Иконка (Поиск)" transform="translate(1 1)">
|
||
<circle id="Ellipse_1" data-name="Ellipse 1" cx="8" cy="8" r="8" fill="none"
|
||
stroke="#242424" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" />
|
||
<line id="Line_1" data-name="Line 1" x1="4.35" y1="4.35" transform="translate(13.65 13.65)"
|
||
fill="none" stroke="#242424" stroke-linecap="round" stroke-linejoin="round"
|
||
stroke-width="2" />
|
||
</g>
|
||
</svg>
|
||
</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- main end
|
||
================================================ --> |