diff --git a/core/modules/system/templates/block--system-branding-block.html.twig b/core/modules/system/templates/block--system-branding-block.html.twig
index f648773..4c64251 100644
--- a/core/modules/system/templates/block--system-branding-block.html.twig
+++ b/core/modules/system/templates/block--system-branding-block.html.twig
@@ -17,16 +17,16 @@
#}
{% block content %}
{% if site_logo %}
-
+
{% endif %}
{% if site_name %}
-
+
{% endif %}
{% if site_slogan %}
-
{{ site_slogan }}
+
{{ site_slogan }}
{% endif %}
{% endblock %}
diff --git a/core/modules/system/templates/block--system-menu-block.html.twig b/core/modules/system/templates/block--system-menu-block.html.twig
index dff7e39..4328747 100644
--- a/core/modules/system/templates/block--system-menu-block.html.twig
+++ b/core/modules/system/templates/block--system-menu-block.html.twig
@@ -40,22 +40,14 @@
* @ingroup themeable
*/
#}
-{%
- set classes = [
- 'block',
- 'block-menu',
- 'navigation',
- 'menu--' ~ derivative_plugin_id|clean_class,
- ]
-%}
{% set heading_id = attributes.id ~ '-menu'|clean_id %}
-