I am using suggestions for a node , I have in the html source the suggestions:

  • node--1.html.twig,
  • node--1--article-list.html.twig,
  • node--article-list.html.twig,
  • and node.html.twig

Whenever I use node--article-list.html.twig, it is not picked up, but when I rename to anything else, like for example node--1--article-list.html.twig , everything works fine. Anyone has an idea why? I could not find any other file named node--article-list.html.twig as part of drupal so I don't think it is a conflict issue. Thanks for your help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.