This commit is contained in:
merdan 2021-06-18 16:22:07 +05:00
parent 538fe6cf23
commit 03430e0d3d
2 changed files with 7 additions and 2 deletions

View File

@ -66,6 +66,11 @@ class CmsPage extends ComponentBase
} else { //todo els if has category component } else { //todo els if has category component
$this->hasBlog = $this->page["hasBlog"] = true; $this->hasBlog = $this->page["hasBlog"] = true;
if($this->page->page->hasComponent("blogPosts")){
$this->seo_title = $this->page["seo_title"] = empty($this->page->meta_title) ? $this->page->title : $this->page->meta_title;
dd($this->page->page);
}
} }
} }

View File

@ -19,8 +19,8 @@ $(".swiper-wrapper").slick({
slidesToScroll: 1, slidesToScroll: 1,
arrows: true, arrows: true,
infinite: true, infinite: true,
autoplay: true,
speed: 500,
prevArrow: $(".p3"), prevArrow: $(".p3"),
nextArrow: $(".n3"), nextArrow: $(".n3"),
}); });