0

I want to put some custom information in the content area of book pages (so, after the author info and before the add child page, etc. links). In the node template, the content comes in with both the body content and the following links already merged. I've dug through the core template directories and I can't find the template for just the body content itself. Anyone know what it is? Thanks!

1 Answer 1

1

The correct answer is you need to look at how to turn on twig debugging Please read and understand:

https://www.drupal.org/docs/theming-drupal/twig-in-drupal/debugging-twig-templates

once you have fully read the above and have set it up you will be able to find the correct template and copy the default form the core to your theme and edit away.

1
  • I didn't know about that. It's incredibly helpful, and I spent so much time yesterday trying to backwards engineer Drupal. Thank you!
    – Chanel
    Mar 11, 2021 at 15:45

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.