title.html.twig 529 B

1234567891011
  1. {% set title_level = title_level ?: 'h2' %}
  2. {% if page.header.link %}
  3. <{{ title_level }} class="p-name mt-1">
  4. {% if page.header.continue_link is not sameas(false) %}
  5. <a href="{{ page.url }}"><i class="fa fa-angle-double-right u-url"></i></a>
  6. {% endif %}
  7. <a href="{{ page.header.link }}" class="u-url">{{ page.title }}</a>
  8. </{{ title_level }}>
  9. {% else %}
  10. <{{ title_level }} class="p-name mt-1"><a href="{{ page.url }}" class="u-url">{{ page.title }}</a></{{ title_level }}>
  11. {% endif %}