{# `with_anchor=true` forces the `
` wrap even when the anchor id is empty — matches the live news.html.twig which always renders the wrap. A non-empty `anchor` argument implies `with_anchor=true` automatically. #} {% macro section_title(title, anchor="", with_anchor=false) %}
{%- if anchor or with_anchor %}

{{ title }}

{%- else %}

{{ title }}

{%- endif %}
{% endmacro %}