From a286fa50d0c91c98738fd587e3b0d7f3b494a225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Wed, 24 Oct 2018 20:14:33 -0400 Subject: [PATCH] Add non-paragraph Project Details and exclude all shown fields --- .../layout/layout--onecol--node.html.twig | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/agaric/templates/layout/layout--onecol--node.html.twig b/agaric/templates/layout/layout--onecol--node.html.twig index 853ea5c..7d53449 100644 --- a/agaric/templates/layout/layout--onecol--node.html.twig +++ b/agaric/templates/layout/layout--onecol--node.html.twig @@ -55,7 +55,33 @@ {% endif %} {# No, i do not understand why content doesn't print the paragraphs but only content.content does that #} - {{ content }} +
+
+
+

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' + ) }}