Mercurial > hg > cmmr2012-drupal-site
annotate core/themes/classy/templates/content/book-node-export-html.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
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> |