From 881e56f972c1f57c27e0e59e33da3cafb8bf3f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 23 Aug 2018 10:12:35 -0400 Subject: [PATCH] Override the system branding block to put in the logo Just the logo, and nothing but the logo. --- .../block--system-branding-block.html.twig | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 agaric/templates/block/block--system-branding-block.html.twig diff --git a/agaric/templates/block/block--system-branding-block.html.twig b/agaric/templates/block/block--system-branding-block.html.twig new file mode 100644 index 0000000..266f6d3 --- /dev/null +++ b/agaric/templates/block/block--system-branding-block.html.twig @@ -0,0 +1,47 @@ +{# +/** + * @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 %} + +{% endblock %}