From 69887c8cbd00c10faa8b0c425e962a43af1ec058 Mon Sep 17 00:00:00 2001 From: armansansd Date: Tue, 20 Sep 2022 16:27:16 +0200 Subject: [PATCH] #1903 --- web/themes/custom/popsu/popsuNoteTheme | 2 +- .../blocks/ block--identitedusite.html.twig | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 web/themes/custom/popsu/templates/blocks/ block--identitedusite.html.twig diff --git a/web/themes/custom/popsu/popsuNoteTheme b/web/themes/custom/popsu/popsuNoteTheme index 8487e33c..b991c6d2 100644 --- a/web/themes/custom/popsu/popsuNoteTheme +++ b/web/themes/custom/popsu/popsuNoteTheme @@ -3,7 +3,7 @@ /*function popsu_preprocess_region(&$variables){ kint($variables); if (isset($variables['region']) && $variables['region'] == 'header_top_right') { - $variables['attributes']['class'][] = "poopooboy" ; + } }*/ diff --git a/web/themes/custom/popsu/templates/blocks/ block--identitedusite.html.twig b/web/themes/custom/popsu/templates/blocks/ block--identitedusite.html.twig new file mode 100644 index 00000000..eae6556a --- /dev/null +++ b/web/themes/custom/popsu/templates/blocks/ block--identitedusite.html.twig @@ -0,0 +1,28 @@ +{% extends "block.html.twig" %} +{# +/** + * @file + * Default theme implementation for a branding block. + * + * Each branding element variable (logo, name, slogan) is only available if + * enabled in the block configuration. + * + * Available variables: + * - site_logo: Logo for site as defined in Appearance or theme settings. + * - site_name: Name for site as defined in Site information settings. + * - site_slogan: Slogan for site as defined in Site information settings. + * + * @ingroup themeable + */ +#} +{% block content %} + {% if site_logo %} + + {{ 'Home'|t }} + + {% endif %} + {% if site_name %} +

{{ site_name }}

+ {% endif %} +

{{ site_slogan }}

+{% endblock %}