diff --git a/plugins/tps/reklama/components/advertisement/carousel.htm b/plugins/tps/reklama/components/advertisement/carousel.htm index fa171d5e9..977fd0393 100644 --- a/plugins/tps/reklama/components/advertisement/carousel.htm +++ b/plugins/tps/reklama/components/advertisement/carousel.htm @@ -19,7 +19,10 @@ href="{{reklama.url|default('#')}}" target="_blank" {% endif %} > - {{reklama.title}} + + + {{reklama.title}} + {% endfor %} diff --git a/plugins/tps/reklama/components/advertisement/single.htm b/plugins/tps/reklama/components/advertisement/single.htm index 514fb809d..e0c181332 100644 --- a/plugins/tps/reklama/components/advertisement/single.htm +++ b/plugins/tps/reklama/components/advertisement/single.htm @@ -12,5 +12,8 @@ {% endif %} class="{{ css_class }}" > - {{reklama.title}} + + + {{reklama.title}} + diff --git a/plugins/tps/reklama/components/advertisement/slider.htm b/plugins/tps/reklama/components/advertisement/slider.htm index fd5259134..ee1b31a2f 100644 --- a/plugins/tps/reklama/components/advertisement/slider.htm +++ b/plugins/tps/reklama/components/advertisement/slider.htm @@ -9,7 +9,10 @@ href="{{reklama.url|default('#')}}" target="_blank" {% endif %} > - {{reklama.title}} + + + {{reklama.title}} + {% endfor %} diff --git a/plugins/tps/reklama/models/reklama/fields.yaml b/plugins/tps/reklama/models/reklama/fields.yaml index c1aea4740..3b7af943c 100644 --- a/plugins/tps/reklama/models/reklama/fields.yaml +++ b/plugins/tps/reklama/models/reklama/fields.yaml @@ -61,6 +61,6 @@ fields: type: mediafinder media_mobile: label: 'Media for mobile' - mode: file + mode: image span: auto type: mediafinder diff --git a/themes/modern2/pages/index.htm b/themes/modern2/pages/index.htm index 2369d77fb..a3f8ac465 100644 --- a/themes/modern2/pages/index.htm +++ b/themes/modern2/pages/index.htm @@ -52,6 +52,21 @@ random = 0 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 ==
@@ -80,7 +95,7 @@ random = 0
{% partial 'index/category_posts' category = blogCategories.categories.shift %} {% partial 'index/category_posts' category = blogCategories.categories.shift %}
@@ -92,7 +107,7 @@ random = 0
{% partial 'index/category_posts' category = blogCategories.categories.shift %} {% partial 'index/category_posts' category = blogCategories.categories.shift %}
@@ -104,7 +119,7 @@ random = 0
{% partial 'index/category_posts' category = blogCategories.categories.shift %} {% partial 'index/category_posts' category = blogCategories.categories.shift %}