annotate core/themes/classy/templates/content/book-node-export-html.html.twig @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 {#
Chris@0 2 /**
Chris@0 3 * @file
Chris@0 4 * Theme override for a single node in a printer-friendly outline.
Chris@0 5 *
Chris@0 6 * Available variables:
Chris@0 7 * - node: Fully loaded node.
Chris@0 8 * - depth: Depth of the current node inside the outline.
Chris@0 9 * - title: Node title.
Chris@0 10 * - content: Node content.
Chris@0 11 * - children: All the child nodes recursively rendered through this file.
Chris@0 12 *
Chris@0 13 * @see template_preprocess_book_node_export_html()
Chris@0 14 */
Chris@0 15 #}
Chris@0 16 <article id="node-{{ node.id }}" class="section-{{ depth }}">
Chris@0 17 <h1 class="book-heading">{{ title }}</h1>
Chris@0 18 {{ content }}
Chris@0 19 {{ children }}
Chris@0 20 </article>