Skip to content
Snippets Groups Projects
Commit ca5cd01f authored by jan.bednarik's avatar jan.bednarik
Browse files

region: Fix home page without articles

parent 2e5f72e3
No related branches found
No related tags found
2 merge requests!427region: Fix home page without articles,!426region: Fix home page without articles
Pipeline #7037 passed
...@@ -193,7 +193,7 @@ class RegionHomePage(MetadataPageMixin, CalendarMixin, Page): ...@@ -193,7 +193,7 @@ class RegionHomePage(MetadataPageMixin, CalendarMixin, Page):
@property @property
def articles(self): def articles(self):
return self.get_descendants().type(RegionArticlePage).live().specific()[6] return self.get_descendants().type(RegionArticlePage).live().specific()[:6]
@property @property
def articles_page(self): def articles_page(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment