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