aggregator-item.html.twig in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
Default theme implementation to present a feed item in an aggregator page.
Available variables:
- url: URL to the originating feed item.
- title: Title of the feed item.
- content: All field items. Use {{ content }} to print them all, or print a subset such as {{ content.field_example }}. Use {{ content|without('field_example') }} to temporarily suppress the printing of a given element.
See also
File
core/modules/aggregator/templates/aggregator-item.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to present a feed item in an aggregator page.
- *
- * Available variables:
- * - url: URL to the originating feed item.
- * - title: Title of the feed item.
- * - content: All field items. Use {{ content }} to print them all,
- * or print a subset such as {{ content.field_example }}. Use
- * {{ content|without('field_example') }} to temporarily suppress the printing
- * of a given element.
- *
- * @see template_preprocess_aggregator_item()
- *
- * @ingroup themeable
- */
- #}
- <article{{ attributes }}>
- {{ title_prefix }}
- <h3>
- <a href="{{ url }}">{{ title }}</a>
- </h3>
- {{ title_suffix }}
- {{ content }}
- </article>