block--system-powered-by-block.html.twig

Same filename in other branches
  1. 9 core/themes/olivero/templates/block/block--system-powered-by-block.html.twig
  2. 11.x core/themes/olivero/templates/block/block--system-powered-by-block.html.twig

Olivero's theme implementation for Powered by Drupal block.

The Powered by Drupal block is an optional link to the home page of the Drupal project.

File

core/themes/olivero/templates/block/block--system-powered-by-block.html.twig

View source
  1. {% extends "block.html.twig" %}
  2. {#
  3. /**
  4. * @file
  5. * Olivero's theme implementation for Powered by Drupal block.
  6. *
  7. * The Powered by Drupal block is an optional link to the home page of the
  8. * Drupal project.
  9. *
  10. */
  11. #}
  12. {% block content %}
  13. {{ attach_library('olivero/powered-by-block') }}
  14. <span>
  15. {% trans %}Powered by{% endtrans %}
  16. <a href="https://www.drupal.org">{% trans %}Drupal{% endtrans %}</a>
  17. <span class="drupal-logo" role="img" aria-label="{{ 'Drupal Logo'|t }}">
  18. {% include "@olivero/../images/drupal.svg" %}
  19. </span>
  20. </span>
  21. {% endblock %}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.