4 * Theme override to list node types available for adding content.
6 * This list is displayed on the Add content admin page.
9 * - types: A list of content types, each with the following properties:
10 * - add_link: Link to create a piece of content of this type.
11 * - description: Description of this type of content.
13 * @see template_preprocess_node_add_list()
16 {% if types is not empty %}
17 <dl class="node-type-list">
18 {% for type in types %}
19 <dt>{{ type.add_link }}</dt>
20 <dd>{{ type.description }}</dd>
25 {% set create_content = path('node.type_add') %}
27 You have not created any content types yet. Go to the <a href="{{ create_content }}">content type creation page</a> to add a new content type.