M
M
mletov2018-08-08 09:53:02
Drupal
mletov, 2018-08-08 09:53:02

How to remove the list of nodes linked to the taxonomy from the template?

Please advise:
When viewing the page of a taxonomy term, under the content (Title + text), a list of nodes associated with the term with titles and announcements is displayed.
I do not need it, I want to delete it.
Looked at templates:
page--taxonomy--term.html.twig - Too global. I don't need to do a full page redesign, just content areas.
taxonomy-term.html.twig - Too local. The list of nodes is displayed somewhere outside of it.
What template to look for?
It would be nice to have some kind of manual in which it would be clearly visible which template is nested in which.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
afi13, 2018-08-08
@afi13

Enable theme debug and you will see which template is used: https://www.drupal.org/docs/8/theming/twig/debuggi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question