A
A
advancesss2019-12-02 20:27:10
Drupal
advancesss, 2019-12-02 20:27:10

How to display the field in the teaser (teaser) Drupal 8?

Dear professionals, tell me how to display fields in node--teaser.html.twig
In node--full.html.twig, they are displayed in this way {{ content.field_image }} but this does not work in the teaser.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2019-12-02
@advancesses

admin/structure/types -> Manage display -> Teaser -> Move field to display fields list -> Save

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question