view 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
line wrap: on
line source
{#
/**
 * @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>