From ba848d286e57a6272fa2d393429c24044789138e Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 24 May 2021 17:15:58 +0500 Subject: [PATCH 1/4] reeklama url --- themes/modern2/pages/index.htm | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/themes/modern2/pages/index.htm b/themes/modern2/pages/index.htm index 03d927196..45110d36a 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 %}
From 7982f1319a940b05062a9fe47d00c88b8bbf7def Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 24 May 2021 17:46:14 +0500 Subject: [PATCH 2/4] reeklama url --- plugins/tps/reklama/components/advertisement/single.htm | 5 ++++- plugins/tps/reklama/models/reklama/fields.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/tps/reklama/components/advertisement/single.htm b/plugins/tps/reklama/components/advertisement/single.htm index 514fb809d..956c22cb7 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/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 From feb38f42891a2317c58f9db6d457207c433d75e3 Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 24 May 2021 17:49:52 +0500 Subject: [PATCH 3/4] reeklama url --- plugins/tps/reklama/components/advertisement/carousel.htm | 5 ++++- plugins/tps/reklama/components/advertisement/single.htm | 2 +- plugins/tps/reklama/components/advertisement/slider.htm | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/tps/reklama/components/advertisement/carousel.htm b/plugins/tps/reklama/components/advertisement/carousel.htm index fa171d5e9..66bca69d0 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 956c22cb7..9d96e68da 100644 --- a/plugins/tps/reklama/components/advertisement/single.htm +++ b/plugins/tps/reklama/components/advertisement/single.htm @@ -14,6 +14,6 @@ > - {{reklama.title}} + {{reklama.title}} diff --git a/plugins/tps/reklama/components/advertisement/slider.htm b/plugins/tps/reklama/components/advertisement/slider.htm index fd5259134..af865eba9 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 %}
From f0429149dfed9cd9d202ff78f8c1cc1a489a30c9 Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 24 May 2021 17:57:55 +0500 Subject: [PATCH 4/4] reeklama url --- plugins/tps/reklama/components/advertisement/carousel.htm | 2 +- plugins/tps/reklama/components/advertisement/single.htm | 2 +- plugins/tps/reklama/components/advertisement/slider.htm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/tps/reklama/components/advertisement/carousel.htm b/plugins/tps/reklama/components/advertisement/carousel.htm index 66bca69d0..977fd0393 100644 --- a/plugins/tps/reklama/components/advertisement/carousel.htm +++ b/plugins/tps/reklama/components/advertisement/carousel.htm @@ -21,7 +21,7 @@ > - {{reklama.title}} + {{reklama.title}} {% endfor %} diff --git a/plugins/tps/reklama/components/advertisement/single.htm b/plugins/tps/reklama/components/advertisement/single.htm index 9d96e68da..e0c181332 100644 --- a/plugins/tps/reklama/components/advertisement/single.htm +++ b/plugins/tps/reklama/components/advertisement/single.htm @@ -14,6 +14,6 @@ > - {{reklama.title}} + {{reklama.title}} diff --git a/plugins/tps/reklama/components/advertisement/slider.htm b/plugins/tps/reklama/components/advertisement/slider.htm index af865eba9..ee1b31a2f 100644 --- a/plugins/tps/reklama/components/advertisement/slider.htm +++ b/plugins/tps/reklama/components/advertisement/slider.htm @@ -11,7 +11,7 @@ > - {{reklama.title}} + {{reklama.title}} {% endfor %}