Initial Drupal 11 with DDEV setup
This commit is contained in:
25
web/core/modules/help/templates/help-section.html.twig
Normal file
25
web/core/modules/help/templates/help-section.html.twig
Normal file
@ -0,0 +1,25 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for a section of the help page.
|
||||
*
|
||||
* Available variables:
|
||||
* - title: The section title.
|
||||
* - description: The description text for the section.
|
||||
* - links: Links to display in the section.
|
||||
* - empty: Text to display if there are no links.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<h2>{{ title }}</h2>
|
||||
<p>{{ description }}</p>
|
||||
{% if links %}
|
||||
<ul>
|
||||
{% for link in links %}
|
||||
<li>{{ link }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>{{ empty }}</p>
|
||||
{% endif %}
|
||||
16
web/core/modules/help/templates/help-topic.html.twig
Normal file
16
web/core/modules/help/templates/help-topic.html.twig
Normal file
@ -0,0 +1,16 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display a help topic.
|
||||
*
|
||||
* Available variables:
|
||||
* - body: The body of the topic.
|
||||
* - related: List of related topic links.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<article>
|
||||
{{ body }}
|
||||
{{ related }}
|
||||
</article>
|
||||
Reference in New Issue
Block a user