From fd9364c9c2762bfda4a946efaed7a4e270dfd24c Mon Sep 17 00:00:00 2001 From: Igor Biki <ibiki@uwaterloo.ca> Date: Thu, 20 May 2021 08:56:16 -0400 Subject: [PATCH] ISTWCMS-4818: Removing forced layout from template. --- templates/ofis/uw-ws-ofis-profile.html.twig | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/templates/ofis/uw-ws-ofis-profile.html.twig b/templates/ofis/uw-ws-ofis-profile.html.twig index 79d1f9c4..76965ee2 100644 --- a/templates/ofis/uw-ws-ofis-profile.html.twig +++ b/templates/ofis/uw-ws-ofis-profile.html.twig @@ -1,11 +1,3 @@ -{% set ofis_content %} - {% include '@layouts/ofis/ofis.twig' with { - 'ofis_data': ofis_data, - }%} -{% endset %} - -{# Passing classes should not be required, those classes should come from layout itself. #} -{% include '@layouts/layout/layout--1-col/layout--1-col.twig' with { - 'content': ofis_content, - 'classes': 'layout layout--uw-1-col' +{% include '@layouts/ofis/ofis.twig' with { + 'ofis_data': ofis_data, } %} -- GitLab