node.html.twig
Same filename in this branch
- 9 core/profiles/demo_umami/themes/umami/templates/content/node.html.twig
- 9 core/themes/olivero/templates/content/node.html.twig
- 9 core/themes/stable9/templates/content/node.html.twig
- 9 core/themes/seven/templates/classy/content/node.html.twig
- 9 core/themes/claro/templates/classy/content/node.html.twig
- 9 core/themes/bartik/templates/node.html.twig
- 9 core/themes/stable/templates/content/node.html.twig
- 9 core/themes/starterkit_theme/templates/content/node.html.twig
- 9 core/themes/classy/templates/content/node.html.twig
- 9 core/modules/node/templates/node.html.twig
- 9 core/modules/system/tests/themes/test_theme/templates/node.html.twig
Same filename in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/templates/content/node.html.twig
- 8.9.x core/themes/seven/templates/classy/content/node.html.twig
- 8.9.x core/themes/claro/templates/classy/content/node.html.twig
- 8.9.x core/themes/bartik/templates/node.html.twig
- 8.9.x core/themes/stable/templates/content/node.html.twig
- 8.9.x core/themes/classy/templates/content/node.html.twig
- 8.9.x core/modules/node/templates/node.html.twig
- 8.9.x core/modules/system/tests/themes/test_theme/templates/node.html.twig
- 8.9.x core/modules/statistics/tests/themes/statistics_test_attached/node.html.twig
- 10 core/profiles/demo_umami/themes/umami/templates/content/node.html.twig
- 10 core/themes/olivero/templates/content/node.html.twig
- 10 core/themes/stable9/templates/content/node.html.twig
- 10 core/themes/claro/templates/classy/content/node.html.twig
- 10 core/themes/starterkit_theme/templates/content/node.html.twig
- 10 core/modules/node/templates/node.html.twig
- 10 core/modules/system/tests/themes/test_theme/templates/node.html.twig
- 10 core/modules/statistics/tests/themes/statistics_test_attached/node.html.twig
- 11.x core/profiles/demo_umami/themes/umami/templates/content/node.html.twig
- 11.x core/themes/olivero/templates/content/node.html.twig
- 11.x core/themes/stable9/templates/content/node.html.twig
- 11.x core/themes/claro/templates/classy/content/node.html.twig
- 11.x core/themes/starterkit_theme/templates/content/node.html.twig
- 11.x core/modules/node/templates/node.html.twig
- 11.x core/modules/system/tests/themes/test_theme/templates/node.html.twig
- 11.x core/modules/statistics/tests/themes/statistics_test_attached/node.html.twig
<article{{ attributes }}> {{ title_prefix }} {% if not page %} <h2{{ title_attributes }}> <a href="{{ url }}" rel="bookmark">{{ label }}</a> </h2> {% endif %} {{ title_suffix }} {% if display_submitted %} <footer> {{ author_picture }} <div{{ author_attributes }}> {% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %} {{ metadata }} </div> </footer> {% endif %} <div{{ content_attributes }}> {{ content.body }} </div> </article>
1 theme call to node.html.twig
- TwigDebugMarkupTest::testTwigDebugMarkup in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigDebugMarkupTest.php - Tests debug markup added to Twig template output.
File
-
core/
modules/ statistics/ tests/ themes/ statistics_test_attached/ node.html.twig
View source
- <article{{ attributes }}>
-
- {{ title_prefix }}
- {% if not page %}
- <h2{{ title_attributes }}>
- <a href="{{ url }}" rel="bookmark">{{ label }}</a>
- </h2>
- {% endif %}
- {{ title_suffix }}
-
- {% if display_submitted %}
- <footer>
- {{ author_picture }}
- <div{{ author_attributes }}>
- {% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %}
- {{ metadata }}
- </div>
- </footer>
- {% endif %}
-
- <div{{ content_attributes }}>
- {{ content.body }}
- </div>
- </article>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.