diff --git a/templates/node/node--uw-ct-contact.html.twig b/templates/node/node--uw-ct-contact.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..c4ed0bbac704cb9a34c08b9bca0306db6f4cd756 --- /dev/null +++ b/templates/node/node--uw-ct-contact.html.twig @@ -0,0 +1,6 @@ +<div class="layout uw-contained-width"> + {% include '@components/contact/contact.twig' with { + 'contact': contact, + 'is_open': 'true', + } %} +</div> diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme index 81f5170f7203cea89588ce9811e33a39ded0d851..24a34abe9773e597d5c5e3a32c996fcc2aedfc5b 100644 --- a/uw_fdsu_theme_resp.theme +++ b/uw_fdsu_theme_resp.theme @@ -373,7 +373,7 @@ function uw_fdsu_theme_resp_preprocess_node(&$variables) { unset($variables['content']); } - if ($variables['node']->getType() == 'uw_ct_contact' && $variables['view_mode'] == 'teaser') { + if ($variables['node']->getType() == 'uw_ct_contact') { // The UW service object. $uwService = \Drupal::service('uw_cfg_common.uw_service');