title.html.twig 358 B

123456789101112
  1. {% set title_level = title_level ?: 'h2' %}
  2. {% if page.header.link %}
  3. <{{ title_level }}>
  4. {% if page.header.continue_link is not same as(false) %}
  5. <a href="{{ page.url }}"><i></i></a>
  6. {% endif %}
  7. {{ page.title }}
  8. </{{ title_level }}>
  9. {% else %}
  10. <{{ title_level }}>{{ page.title }}</{{ title_level }}>
  11. {% endif %}