Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

read-more.twig

<a{{ attributes.addClass('read-more').setAttribute('href', url) }}>
  {% block text %}{% endblock %}
  <span class="visually-hidden">
    - {% block a11y %}{% endblock %}
  </span>
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" class="read-more__icon">
    <path fill="none" d="M159.19 117.37v365.26L341.82 300 159.19 117.37z"/>
    <path fill="#008068" d="M341.82 300L159.19 482.63v98.99L440.81 300 159.19 18.38v98.99L341.82 300z"/>
  </svg>
</a>

File

core/profiles/demo_umami/themes/umami/components/read-more/read-more.twig

View source
  1. <a{{ attributes.addClass('read-more').setAttribute('href', url) }}>
  2. {% block text %}{% endblock %}
  3. <span class="visually-hidden">
  4. - {% block a11y %}{% endblock %}
  5. </span>
  6. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" class="read-more__icon">
  7. <path fill="none" d="M159.19 117.37v365.26L341.82 300 159.19 117.37z"/>
  8. <path fill="#008068" d="M341.82 300L159.19 482.63v98.99L440.81 300 159.19 18.38v98.99L341.82 300z"/>
  9. </svg>
  10. </a>
RSS feed
Powered by Drupal