Drupal 8 Hide Title If Front Page

01/07/2018


In drupal 8 how can I hide title on front page ? The title is rendered through page-title.html.twig through the code below

{% if title %}
  <h1{{ title_attributes.addClass('page-header') }}>{{ title }}</h1>
{% endif %}

I want to wrap it in if not front page condition but don’t know the syntax.

قالب وردپرس