Merge branch '1.1' of https://github.com/merdiano/orient-site into 1.1
This commit is contained in:
commit
f37b63338c
|
|
@ -19,7 +19,10 @@
|
||||||
href="{{reklama.url|default('#')}}" target="_blank"
|
href="{{reklama.url|default('#')}}" target="_blank"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
>
|
>
|
||||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
<picture>
|
||||||
|
<source media="(min-width:700px)" srcset="{{reklama.media|media_cdn}}">
|
||||||
|
<img src="{{reklama.media_mobile|default(reklama.media)|media_cdn}}" alt="{{reklama.title}}">
|
||||||
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
class="{{ css_class }}"
|
class="{{ css_class }}"
|
||||||
>
|
>
|
||||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
<picture>
|
||||||
|
<source media="(min-width:700px)" srcset="{{reklama.media|media_cdn}}">
|
||||||
|
<img src="{{reklama.media_mobile|default(reklama.media)|media_cdn}}" alt="{{reklama.title}}">
|
||||||
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,10 @@
|
||||||
href="{{reklama.url|default('#')}}" target="_blank"
|
href="{{reklama.url|default('#')}}" target="_blank"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
>
|
>
|
||||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
<picture>
|
||||||
|
<source media="(min-width:700px)" srcset="{{reklama.media|media_cdn}}">
|
||||||
|
<img src="{{reklama.media_mobile|default(reklama.media)|media_cdn}}" alt="{{reklama.title}}">
|
||||||
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,6 @@ fields:
|
||||||
type: mediafinder
|
type: mediafinder
|
||||||
media_mobile:
|
media_mobile:
|
||||||
label: 'Media for mobile'
|
label: 'Media for mobile'
|
||||||
mode: file
|
mode: image
|
||||||
span: auto
|
span: auto
|
||||||
type: mediafinder
|
type: mediafinder
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,21 @@ random = 0
|
||||||
code = "right-bottom"
|
code = "right-bottom"
|
||||||
type = "slider"
|
type = "slider"
|
||||||
random = 0
|
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">
|
<section class="hero">
|
||||||
<div class="auto__container">
|
<div class="auto__container">
|
||||||
|
|
@ -80,7 +95,7 @@ random = 0
|
||||||
<div class="main__body-row">
|
<div class="main__body-row">
|
||||||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||||||
<div class="banner__mobile">
|
<div class="banner__mobile">
|
||||||
{% component 'right_top' css_class= 'main__sidebar-adv' %}
|
{% component 'right_top_m' css_class= 'main__sidebar-adv' %}
|
||||||
</div>
|
</div>
|
||||||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -92,7 +107,7 @@ random = 0
|
||||||
<div class="main__body-row">
|
<div class="main__body-row">
|
||||||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||||||
<div class="banner__mobile">
|
<div class="banner__mobile">
|
||||||
{% component 'right_middle' css_class = 'main__sidebar-adv' %}
|
{% component 'right_middle_m' css_class = 'main__sidebar-adv' %}
|
||||||
</div>
|
</div>
|
||||||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -104,7 +119,7 @@ random = 0
|
||||||
<div class="main__body-row">
|
<div class="main__body-row">
|
||||||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||||||
<div class="banner__mobile">
|
<div class="banner__mobile">
|
||||||
{% component 'right_bottom' css_class= 'main__sidebar-adv' %}
|
{% component 'right_bottom_m' css_class= 'main__sidebar-adv' %}
|
||||||
</div>
|
</div>
|
||||||
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
{% partial 'index/category_posts' category = blogCategories.categories.shift %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue