1

In node--article.html.twig

<article{{ attributes.addClass(classes) }}>
  {{ created.content | date("d/m/Y") }}
  {{ content.title }}
  {{ content.body }}
</article>

The title is not displaying. How do I do this?

11

You can use:

{{ label }} or {{ node.label }} or {{ node.getTitle() }}.

Not the answer you're looking for? Browse other questions tagged or ask your own question.