book-node-export-html.html.twig 537 B

1234567891011121314151617181920
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a single node in a printer-friendly outline.
  5. *
  6. * Available variables:
  7. * - node: Fully loaded node.
  8. * - depth: Depth of the current node inside the outline.
  9. * - title: Node title.
  10. * - content: Node content.
  11. * - children: All the child nodes recursively rendered through this file.
  12. *
  13. * @see template_preprocess_book_node_export_html()
  14. */
  15. #}
  16. <article id="node-{{ node.id }}" class="section-{{ depth }}">
  17. <h1 class="book-heading">{{ title }}</h1>
  18. {{ content }}
  19. {{ children }}
  20. </article>