- Issue created by @joedevdrupal
- 🇮🇳India ravi kant Jaipur
@Back From 7
I hope the below URL will solve your issue.
https://www.drupal.org/docs/theming-drupal/twig-in-drupal/twig-template-... →
Recently, I was able to successfully install the Barrio subtheme, and I'm now exploring the creation of custom content type templates.
I do have twig debug working, I find Drupal theming to be quite complex, particularly as I try to understand the template structure for ^10.0.1.
Specifically, I'm struggling with (what seems to be) in Chrome console twig suggestions - the dominance of html.html.twig, which seems to override the node article content type. My experience with Drupal has been primarily with versions up to 7, and this new paradigm is causing me some confusion.
Could you possibly direct me to the right documentation or offer insight into the correct usage of schema template files? I'm uncertain about the correct paths, such as:
templates/node
templates/content
templates/nodes
node--type-article.twig
Anyone with experience with template structure that could easily articulate the correct template structure to make this work?
Active
5.5
Documentation
Used in Documentation issues related to theming
@Back From 7
I hope the below URL will solve your issue.
https://www.drupal.org/docs/theming-drupal/twig-in-drupal/twig-template-... →