camaleon-8.x-1.x-dev/templates/content/book-node-export-html.html.twig
templates/content/book-node-export-html.html.twig
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {# /** * @file * Theme override 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() */ #} <article id= "node-{{ node.id }}" class = "section-{{ depth }}" > <h1 class = "book-heading" >{{ title }}</h1> {{ content }} {{ children }} </article> |