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?

0

1 Answer 1

17

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.