From 4cd0836948357a7696cc60a8cbd96c3dcb026948 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 4 Jun 2021 12:38:17 +0000 Subject: [PATCH] server --- plugins/tps/reklama/components/advertisement/carousel.htm | 2 ++ themes/modern2/pages/post.htm | 5 ++++- themes/modern2/partials/index/category_posts.htm | 6 +++--- themes/modern2/partials/index/top_section.htm | 6 +++--- themes/modern2/partials/slider.htm | 6 +++--- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/plugins/tps/reklama/components/advertisement/carousel.htm b/plugins/tps/reklama/components/advertisement/carousel.htm index 977fd0393..88fed663e 100644 --- a/plugins/tps/reklama/components/advertisement/carousel.htm +++ b/plugins/tps/reklama/components/advertisement/carousel.htm @@ -36,6 +36,7 @@ dots: false, infinite: true, speed: 300, + autoplay: true, slidesToShow: 5, arrows: true, prevArrow: $(".p1"), @@ -81,6 +82,7 @@ speed: 300, slidesToShow: 5, arrows: true, + autoplay: true, prevArrow: $(".p1"), nextArrow: $(".n1"), slidesToScroll: 1, diff --git a/themes/modern2/pages/post.htm b/themes/modern2/pages/post.htm index 2ac977f26..f80ace584 100644 --- a/themes/modern2/pages/post.htm +++ b/themes/modern2/pages/post.htm @@ -49,7 +49,10 @@ post = "post" {% if post.featured_image %} - {{post.title}} + + + + {{post.title}} {% endif %} diff --git a/themes/modern2/partials/index/category_posts.htm b/themes/modern2/partials/index/category_posts.htm index a71e53694..46bc9a753 100644 --- a/themes/modern2/partials/index/category_posts.htm +++ b/themes/modern2/partials/index/category_posts.htm @@ -10,8 +10,8 @@ {{'page.more'|_}} - - {{posts.first.title}} + + {{posts.first.title}}
@@ -37,4 +37,4 @@ {% partial 'index/category_post_item' post = posts[1] %} {% partial 'index/category_post_item' post = posts.last %}
-
+ \ No newline at end of file diff --git a/themes/modern2/partials/index/top_section.htm b/themes/modern2/partials/index/top_section.htm index 8e5040658..484877540 100644 --- a/themes/modern2/partials/index/top_section.htm +++ b/themes/modern2/partials/index/top_section.htm @@ -14,8 +14,8 @@
- - {{firstPost.title}} + + {{firstPost.title}}
{% partial 'index/post_item' post = firstPost category = category %} @@ -29,4 +29,4 @@
- + \ No newline at end of file diff --git a/themes/modern2/partials/slider.htm b/themes/modern2/partials/slider.htm index a249ee2af..53ee90584 100644 --- a/themes/modern2/partials/slider.htm +++ b/themes/modern2/partials/slider.htm @@ -28,7 +28,7 @@ postPage = "post"
- +