blog.html.twig 428 B

1234567891011121314151617181920212223
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a blog.
  5. *
  6. * Available variables:
  7. * - attributes: HTML attributes for the wrapper.
  8. * - title_prefix
  9. * - title_suffix
  10. *
  11. * @see template_preprocess_taxonomy_term()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. <div{{ attributes }}>
  17. {{ title_prefix }}
  18. {% if not page %}
  19. <h2><a href="{{ url }}">{{ name }}</a></h2>
  20. {% endif %}
  21. {{ title_suffix }}
  22. {{ content }}
  23. </div>