comparison core/modules/help/templates/help-section.html.twig @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
1 {#
2 /**
3 * @file
4 * Default theme implementation for a section of the help page.
5 *
6 * Available variables:
7 * - title: The section title.
8 * - description: The description text for the section.
9 * - links: Links to display in the section.
10 * - empty: Text to display if there are no links.
11 *
12 * @ingroup themeable
13 */
14 #}
15 <h2>{{ title }}</h2>
16 <p>{{ description }}</p>
17 {% if links %}
18 <ul>
19 {% for link in links %}
20 <li>{{ link }}</li>
21 {% endfor %}
22 </ul>
23 {% else %}
24 <p>{{ empty }}</p>
25 {% endif %}