Mercurial > libervia-web
diff src/pages/forums/view/page_meta.py @ 1077:880ea673aaff
blog: moved blog page from /common to /blog:
- removed common pages (it was only used for blog so far, it may come back in the future if needed)
- /blog now prepares a discover page by default
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 26 Mar 2018 08:20:41 +0200 |
parents | 2290b6ec3991 |
children | cdd389ef97bc |
line wrap: on
line diff
--- a/src/pages/forums/view/page_meta.py Mon Mar 26 08:18:27 2018 +0200 +++ b/src/pages/forums/view/page_meta.py Mon Mar 26 08:20:41 2018 +0200 @@ -20,7 +20,7 @@ def prepare_render(self, request): data = self.getRData(request) data['show_comments'] = False - blog_page = self.getPageByName(u'blog') + blog_page = self.getPageByName(u'blog_view') request.args['before'] = [''] request.args['reverse'] = ['1'] yield blog_page.prepare_render(self, request)