read-more.twig

Same filename in other branches
  1. 11.x core/profiles/demo_umami/themes/umami/components/read-more/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>

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