X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/06175c1d644d5a6f3093c945f18d6b3c33cc8d46..972f33fb2d98a9ff59c931ac6a8a82def7cea6fe:/src/infopages/views.py?ds=sidebyside diff --git a/src/infopages/views.py b/src/infopages/views.py index 5c19e72e6..986d6a56e 100644 --- a/src/infopages/views.py +++ b/src/infopages/views.py @@ -10,8 +10,6 @@ from infopages.models import InfoPage def infopage(request, slug): page = get_object_or_404(InfoPage, slug=slug) - new_layout = request.EXPERIMENTS['layout'] - rc = RequestContext(request) try: left_column = Template(page.left_column).render(rc) @@ -25,7 +23,7 @@ def infopage(request, slug): return render( request, - 'infopages/2022/infopage.html' if new_layout.value else 'infopages/infopage.html', + 'infopages/2022/infopage.html', { 'page': page, 'left_column': left_column,