From d1458159e81189d4d3f06a1ad36be1b2bb60494f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 18 Nov 2018 13:07:39 -0500 Subject: [PATCH] Remove project details output from non-case-study content --- agaric/templates/layout/node--full.html.twig | 31 ++------------------ 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/agaric/templates/layout/node--full.html.twig b/agaric/templates/layout/node--full.html.twig index 4959d57..e809687 100644 --- a/agaric/templates/layout/node--full.html.twig +++ b/agaric/templates/layout/node--full.html.twig @@ -112,35 +112,8 @@ {% endif %} {% endfor %} {% endif %} - {# No, i do not understand why content doesn't print the paragraphs but only - content.content does that #} -
-
-
-

Project Details

-
-
-
-
- {{ content.field_case_study_client }} - {{ content.field_case_study_year }} - {{ content.field_case_study_status }} -
-
- {{ content.field_technologies }} - {{ content.field_services }} -
-
- {{ content.field_case_study_team }} - {{ content.field_case_study_partners }} -
-
-
- {{ content|without('content', 'field_body_paragraph', - 'field_case_study_client', 'field_case_study_partners', 'field_case_study_status', - 'field_case_study_team', 'field_case_study_year', 'field_technologies', - 'field_services', 'uid', 'created' - ) }} + + {{ content|without('field_body_paragraph', 'field_authors', 'uid', 'created') }}