Open gustabot42 opened 10 years ago
a deviation is to use a filter in the views definition, with special tag for pages.
'/:slug/': {'view': 'entry', 'if': lambda e: 'page' in e.tags}, '/:year/:slug/': {'views': ['entry', 'draft'], 'if': lambda e: 'page' not in e.tags},
entry.type="page" are not listed in translation views, there is no way to manage translated page with the same logic of "entry"s, with respect to language menu in templates